@devrev/typescript-sdk 1.1.52 → 1.1.53

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.
@@ -380,6 +380,8 @@ export interface AddTagWithValue {
380
380
  * List of custom fields from multiple source fragments.
381
381
  */
382
382
  export interface AggregatedSchema {
383
+ /** The conditions associated with the fields. */
384
+ conditions?: CustomSchemaFragmentCondition[];
383
385
  /** The stock field overrides. */
384
386
  stock_field_overrides?: StockFieldOverride[];
385
387
  }
@@ -608,6 +610,8 @@ export interface AirdropSyncUnitsHistoryResponse {
608
610
  export type AppFragment = CustomSchemaFragmentBase & {
609
611
  /** App this fragment applies to. */
610
612
  app?: string;
613
+ /** The display name of the app. */
614
+ app_display_name?: string;
611
615
  };
612
616
  /** app-fragment-summary */
613
617
  export type AppFragmentSummary = CustomSchemaFragmentBaseSummary;
@@ -2123,6 +2127,26 @@ export interface ClientContextPage {
2123
2127
  /** Page URL, example: https://devrev.ai/pricing */
2124
2128
  url?: string;
2125
2129
  }
2130
+ /**
2131
+ * client-override
2132
+ * UI hint overrides for a client.
2133
+ */
2134
+ export interface ClientOverride {
2135
+ /** The name of the client. */
2136
+ client_name?: string;
2137
+ /** The display name of the field. */
2138
+ display_name?: string;
2139
+ /** Whether the field is hidden in the UI. */
2140
+ is_hidden?: boolean;
2141
+ /** Whether the field is mandatory. */
2142
+ is_required?: boolean;
2143
+ /** A placeholder for the field. */
2144
+ placeholder?: string;
2145
+ /** Tooltip for the field. */
2146
+ tooltip?: string;
2147
+ /** The view overrides for the client. */
2148
+ view_overrides?: ViewOverride[];
2149
+ }
2126
2150
  /** code-change */
2127
2151
  export type CodeChange = AtomBase & {
2128
2152
  /** Name of the code branch in the repo. */
@@ -2744,6 +2768,8 @@ export interface ConversationsExportRequest {
2744
2768
  group?: string[];
2745
2769
  /** Filters for conversations that are created by verified users. */
2746
2770
  is_creator_verified?: boolean;
2771
+ /** Filters for conversations that are frozen. */
2772
+ is_frozen?: boolean;
2747
2773
  /** Filters for conversations that are spam. */
2748
2774
  is_spam?: boolean;
2749
2775
  /**
@@ -2833,6 +2859,8 @@ export interface ConversationsListRequest {
2833
2859
  group?: string[];
2834
2860
  /** Filters for conversations that are created by verified users. */
2835
2861
  is_creator_verified?: boolean;
2862
+ /** Filters for conversations that are frozen. */
2863
+ is_frozen?: boolean;
2836
2864
  /** Filters for conversations that are spam. */
2837
2865
  is_spam?: boolean;
2838
2866
  /**
@@ -2934,6 +2962,8 @@ export interface ConversationsUpdateRequest {
2934
2962
  group?: string;
2935
2963
  /** The ID of the conversation to update. */
2936
2964
  id: string;
2965
+ /** Whether the conversation is frozen. */
2966
+ is_frozen?: boolean;
2937
2967
  /** Whether the conversation is spam. */
2938
2968
  is_spam?: boolean;
2939
2969
  members?: ConversationsUpdateRequestMembers;
@@ -3495,7 +3525,39 @@ export type CustomSchemaFragmentBaseSummary = AtomBaseSummary;
3495
3525
  * custom-schema-fragment-condition
3496
3526
  * The condition associated with a field.
3497
3527
  */
3498
- export type CustomSchemaFragmentCondition = object;
3528
+ export interface CustomSchemaFragmentCondition {
3529
+ /** The linked effects when the expression evaluates to true. */
3530
+ effects?: CustomSchemaFragmentEffect[];
3531
+ /** The expression to evaluate. */
3532
+ expression?: string;
3533
+ }
3534
+ /**
3535
+ * custom-schema-fragment-effect
3536
+ * An effect associated with a condition.
3537
+ */
3538
+ export interface CustomSchemaFragmentEffect {
3539
+ /**
3540
+ * Allowed values for the fields based on the condition. This takes
3541
+ * precedence over allowed_values in field_descriptor.
3542
+ */
3543
+ allowed_values?: string[];
3544
+ /** The fields which are affected by the condition. */
3545
+ fields: string[];
3546
+ /**
3547
+ * Whether the fields should be made immutable or not based on the
3548
+ * condition.
3549
+ */
3550
+ immutable?: boolean;
3551
+ /** Whether the field values are invalid based on the condition. */
3552
+ invalid?: boolean;
3553
+ /**
3554
+ * Whether the fields are required or not based on the condition. This
3555
+ * takes precedence over is_required in field_descriptor.
3556
+ */
3557
+ require?: boolean;
3558
+ /** Whether the fields are shown or not based on the condition. */
3559
+ show?: boolean;
3560
+ }
3499
3561
  /** Type of the custom schema fragment. */
3500
3562
  export declare enum CustomSchemaFragmentFragmentType {
3501
3563
  App = "app",
@@ -3602,6 +3664,8 @@ export type CustomSchemaFragmentsSetRequest = (CustomSchemaFragmentsSetRequestAp
3602
3664
  export interface CustomSchemaFragmentsSetRequestAppFragment {
3603
3665
  /** The app this fragment applies to. */
3604
3666
  app: string;
3667
+ /** The display name of the app. */
3668
+ app_display_name?: string;
3605
3669
  }
3606
3670
  /** custom-schema-fragments-set-request-composite-schema */
3607
3671
  export interface CustomSchemaFragmentsSetRequestCompositeSchema {
@@ -3665,7 +3729,7 @@ export interface CustomSchemaSpec {
3665
3729
  }
3666
3730
  /** custom-stage */
3667
3731
  export type CustomStage = AtomBase & {
3668
- /** The human readable name of the state. */
3732
+ /** The human readable name of the stage. */
3669
3733
  name?: string;
3670
3734
  /**
3671
3735
  * Ordinal used to sort/group stages.
@@ -3676,7 +3740,7 @@ export type CustomStage = AtomBase & {
3676
3740
  };
3677
3741
  /** custom-stage-summary */
3678
3742
  export type CustomStageSummary = AtomBaseSummary & {
3679
- /** The human readable name of the state. */
3743
+ /** The human readable name of the stage. */
3680
3744
  name?: string;
3681
3745
  };
3682
3746
  /** custom-stages-create-request */
@@ -6380,8 +6444,6 @@ export type Incident = AtomBase & {
6380
6444
  identified_date?: string;
6381
6445
  /** Details of the impact due to the incident. */
6382
6446
  impact?: ImpactedCustomerDetails;
6383
- /** List of customers impacted due to the incident. */
6384
- impacted_customers?: AccountSummary[];
6385
6447
  /**
6386
6448
  * Timestamp when the incident was mitigated.
6387
6449
  * @format date-time
@@ -6402,11 +6464,6 @@ export type Incident = AtomBase & {
6402
6464
  source?: EnumValue;
6403
6465
  /** Describes the current stage of a object. */
6404
6466
  stage?: Stage;
6405
- /**
6406
- * Users, along with the incident commander, involved in resolving
6407
- * incidents and handling communication.
6408
- */
6409
- stakeholders?: UserSummary[];
6410
6467
  /**
6411
6468
  * Stock schema fragment.
6412
6469
  * @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
@@ -6470,8 +6527,6 @@ export interface IncidentsCreateRequest {
6470
6527
  */
6471
6528
  identified_date?: string;
6472
6529
  impact?: CreateImpactedCustomerDetails;
6473
- /** List of customers impacted due to the incident. */
6474
- impacted_customers?: string[];
6475
6530
  /**
6476
6531
  * Timestamp when the incident was mitigated.
6477
6532
  * @format date-time
@@ -6506,11 +6561,6 @@ export interface IncidentsCreateRequest {
6506
6561
  stage?: CreateStage;
6507
6562
  /** The type of stage validations options when creating an incident. */
6508
6563
  stage_validation_options?: StageValidationOptionForCreate[];
6509
- /**
6510
- * Users, along with the incident commander, involved in resolving
6511
- * incidents and handling communication.
6512
- */
6513
- stakeholders?: string[];
6514
6564
  /** Tags associated with the object. */
6515
6565
  tags?: CreateTagWithValue[];
6516
6566
  /**
@@ -6784,7 +6834,6 @@ export interface IncidentsUpdateRequest {
6784
6834
  */
6785
6835
  identified_date?: string;
6786
6836
  impact?: UpdateImpactedCustomerDetails;
6787
- impacted_customers?: UpdateIncidentImpactedCustomers;
6788
6837
  /**
6789
6838
  * Timestamp when the incident was mitigated.
6790
6839
  * @format date-time
@@ -6818,7 +6867,6 @@ export interface IncidentsUpdateRequest {
6818
6867
  * incident.
6819
6868
  */
6820
6869
  stage_validation_options?: StageValidationOptionForUpdate[];
6821
- stakeholders?: UpdateIncidentStakeholders;
6822
6870
  tags?: UpdateIncidentTags;
6823
6871
  /**
6824
6872
  * Timestamp when the incident is expected to be resolved.
@@ -8633,8 +8681,12 @@ export type ProductSummary = PartBaseSummary;
8633
8681
  export type QuestionAnswer = AtomBase & {
8634
8682
  /** The Answer. */
8635
8683
  answer?: string;
8684
+ /** Details of the parts relevant to the question_answer. */
8685
+ applies_to_parts?: PartSummary[];
8636
8686
  /** The Question. */
8637
8687
  question?: string;
8688
+ /** Status of the question answer. */
8689
+ status?: QuestionAnswerStatus;
8638
8690
  /** An alternative answer suggested by the Q/A generation algorithm. */
8639
8691
  suggested_answer?: string;
8640
8692
  /**
@@ -9813,11 +9865,11 @@ export interface SchemaFieldCreateViewUiMetadata {
9813
9865
  * schema-field-descriptor
9814
9866
  * Set of field attributes.
9815
9867
  */
9816
- export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
9868
+ export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaJsonValueFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
9817
9869
  field_type: SchemaFieldDescriptorFieldType;
9818
9870
  };
9819
9871
  /** schema-field-descriptor-array-type */
9820
- export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
9872
+ export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaJsonValueListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
9821
9873
  base_type: SchemaFieldDescriptorArrayTypeBaseType;
9822
9874
  /**
9823
9875
  * The exact array length.
@@ -9843,6 +9895,7 @@ export declare enum SchemaFieldDescriptorArrayTypeBaseType {
9843
9895
  Enum = "enum",
9844
9896
  Id = "id",
9845
9897
  Int = "int",
9898
+ JsonValue = "json_value",
9846
9899
  RichText = "rich_text",
9847
9900
  Struct = "struct",
9848
9901
  Text = "text",
@@ -9885,6 +9938,7 @@ export declare enum SchemaFieldDescriptorFieldType {
9885
9938
  Enum = "enum",
9886
9939
  Id = "id",
9887
9940
  Int = "int",
9941
+ JsonValue = "json_value",
9888
9942
  RichText = "rich_text",
9889
9943
  Struct = "struct",
9890
9944
  Text = "text",
@@ -9962,6 +10016,8 @@ export interface SchemaFieldUenumValue {
9962
10016
  * The schema of ui specific fields.
9963
10017
  */
9964
10018
  export interface SchemaFieldUiMetadata {
10019
+ /** The client overrides for the field. */
10020
+ client_overrides?: ClientOverride[];
9965
10021
  /** Create view UI hint overrides. */
9966
10022
  create_view?: SchemaFieldCreateViewUiMetadata;
9967
10023
  /** Detail view UI hint overrides. */
@@ -10075,6 +10131,16 @@ export type SchemaIntListFieldDescriptor = SchemaFieldDescriptorBase & {
10075
10131
  */
10076
10132
  lte?: number;
10077
10133
  };
10134
+ /** schema-json-value-field-descriptor */
10135
+ export type SchemaJsonValueFieldDescriptor = SchemaFieldDescriptorBase & {
10136
+ /** Default value. */
10137
+ default_value?: any;
10138
+ };
10139
+ /** schema-json-value-list-field-descriptor */
10140
+ export type SchemaJsonValueListFieldDescriptor = SchemaFieldDescriptorBase & {
10141
+ /** Default value. */
10142
+ default_value?: any[];
10143
+ };
10078
10144
  /** schema-rich-text-field-descriptor */
10079
10145
  export type SchemaRichTextFieldDescriptor = SchemaFieldDescriptorBase & {
10080
10146
  /** The contained substring. */
@@ -11263,13 +11329,11 @@ export declare enum SnapWidgetClickInteractionClickAction {
11263
11329
  OpenUrl = "open_url",
11264
11330
  StartConversation = "start_conversation"
11265
11331
  }
11266
- /** snap-widget-display-interaction-base */
11267
- export type SnapWidgetDisplayInteractionBase = object;
11268
11332
  /**
11269
11333
  * snap-widget-email-input-interaction
11270
11334
  * An interaction supported by a widget.
11271
11335
  */
11272
- export type SnapWidgetEmailInputInteraction = SnapWidgetDisplayInteractionBase;
11336
+ export type SnapWidgetEmailInputInteraction = object;
11273
11337
  /**
11274
11338
  * snap-widget-interaction
11275
11339
  * An interaction supported by a widget.
@@ -11294,20 +11358,20 @@ export declare enum SnapWidgetNamespace {
11294
11358
  * snap-widget-open-plug-widget-action
11295
11359
  * Details of open plug widget action.
11296
11360
  */
11297
- export type SnapWidgetOpenPlugWidgetAction = SnapWidgetDisplayInteractionBase;
11361
+ export type SnapWidgetOpenPlugWidgetAction = object;
11298
11362
  /**
11299
11363
  * snap-widget-open-url-action
11300
11364
  * Details of open url widget action.
11301
11365
  */
11302
- export type SnapWidgetOpenUrlAction = SnapWidgetDisplayInteractionBase & {
11366
+ export interface SnapWidgetOpenUrlAction {
11303
11367
  /** The url to open when the widget is clicked. */
11304
11368
  url: string;
11305
- };
11369
+ }
11306
11370
  /**
11307
11371
  * snap-widget-start-conversation-action
11308
11372
  * Details of start conversation action.
11309
11373
  */
11310
- export type SnapWidgetStartConversationAction = SnapWidgetDisplayInteractionBase & {
11374
+ export interface SnapWidgetStartConversationAction {
11311
11375
  /**
11312
11376
  * Whether the rich text editor is enabled on the object. Default is
11313
11377
  * false.
@@ -11315,7 +11379,7 @@ export type SnapWidgetStartConversationAction = SnapWidgetDisplayInteractionBase
11315
11379
  rte_enabled?: boolean;
11316
11380
  /** A SnapKit based widget. */
11317
11381
  starter_message?: SnapKitBaseWidget;
11318
- };
11382
+ }
11319
11383
  /** The status of the snap widget. */
11320
11384
  export declare enum SnapWidgetStatus {
11321
11385
  Draft = "draft",
@@ -12489,6 +12553,8 @@ export type Ticket = WorkBase & {
12489
12553
  sla_tracker?: SlaTrackerSummary;
12490
12554
  /** Source channel of the ticket. */
12491
12555
  source_channel?: string;
12556
+ /** The properties of an enum value. */
12557
+ visibility?: EnumValue;
12492
12558
  };
12493
12559
  /** Channels of the ticket. */
12494
12560
  export declare enum TicketChannels {
@@ -13464,11 +13530,6 @@ export interface UpdateIncidentArtifacts {
13464
13530
  */
13465
13531
  set?: string[];
13466
13532
  }
13467
- /** update-incident-impacted-customers */
13468
- export interface UpdateIncidentImpactedCustomers {
13469
- /** Sets the list of customers impacted due to the incident. */
13470
- set?: string[];
13471
- }
13472
13533
  /** update-incident-owned-by */
13473
13534
  export interface UpdateIncidentOwnedBy {
13474
13535
  /** Sets the user IDs of the users that own the incident. */
@@ -13498,14 +13559,6 @@ export interface UpdateIncidentRelatedDocs {
13498
13559
  */
13499
13560
  set?: string[];
13500
13561
  }
13501
- /** update-incident-stakeholders */
13502
- export interface UpdateIncidentStakeholders {
13503
- /**
13504
- * Sets the users, along with the incident commander, involved in
13505
- * resolving incidents and handling communication.
13506
- */
13507
- set?: string[];
13508
- }
13509
13562
  /** update-incident-tags */
13510
13563
  export interface UpdateIncidentTags {
13511
13564
  /** Sets the tags associated with the object. */
@@ -13632,6 +13685,24 @@ export declare enum UserType {
13632
13685
  ServiceAccount = "service_account",
13633
13686
  SysUser = "sys_user"
13634
13687
  }
13688
+ /**
13689
+ * view-override
13690
+ * UI hint overrides for a view.
13691
+ */
13692
+ export interface ViewOverride {
13693
+ /** The display name of the field. */
13694
+ display_name?: string;
13695
+ /** Whether the field is hidden in the UI. */
13696
+ is_hidden?: boolean;
13697
+ /** Whether the field is mandatory. */
13698
+ is_required?: boolean;
13699
+ /** A placeholder for the field. */
13700
+ placeholder?: string;
13701
+ /** Tooltip for the field. */
13702
+ tooltip?: string;
13703
+ /** The name of the view. */
13704
+ view_name?: string;
13705
+ }
13635
13706
  /** vista-base-summary */
13636
13707
  export type VistaBaseSummary = AtomBaseSummary & {
13637
13708
  /** Name of the vista. */
@@ -15900,6 +15971,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15900
15971
  group?: string[];
15901
15972
  /** Filters for conversations that are created by verified users. */
15902
15973
  is_creator_verified?: boolean;
15974
+ /** Filters for conversations that are frozen. */
15975
+ is_frozen?: boolean;
15903
15976
  /** Filters for conversations that are spam. */
15904
15977
  is_spam?: boolean;
15905
15978
  /**
@@ -16027,6 +16100,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
16027
16100
  group?: string[];
16028
16101
  /** Filters for conversations that are created by verified users. */
16029
16102
  is_creator_verified?: boolean;
16103
+ /** Filters for conversations that are frozen. */
16104
+ is_frozen?: boolean;
16030
16105
  /** Filters for conversations that are spam. */
16031
16106
  is_spam?: boolean;
16032
16107
  /**
@@ -755,6 +755,7 @@ var SchemaFieldDescriptorArrayTypeBaseType;
755
755
  SchemaFieldDescriptorArrayTypeBaseType["Enum"] = "enum";
756
756
  SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
757
757
  SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
758
+ SchemaFieldDescriptorArrayTypeBaseType["JsonValue"] = "json_value";
758
759
  SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
759
760
  SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
760
761
  SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
@@ -772,6 +773,7 @@ var SchemaFieldDescriptorFieldType;
772
773
  SchemaFieldDescriptorFieldType["Enum"] = "enum";
773
774
  SchemaFieldDescriptorFieldType["Id"] = "id";
774
775
  SchemaFieldDescriptorFieldType["Int"] = "int";
776
+ SchemaFieldDescriptorFieldType["JsonValue"] = "json_value";
775
777
  SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
776
778
  SchemaFieldDescriptorFieldType["Struct"] = "struct";
777
779
  SchemaFieldDescriptorFieldType["Text"] = "text";
@@ -1626,6 +1626,8 @@ export interface ConversationsListRequest {
1626
1626
  group?: string[];
1627
1627
  /** Filters for conversations that are created by verified users. */
1628
1628
  is_creator_verified?: boolean;
1629
+ /** Filters for conversations that are frozen. */
1630
+ is_frozen?: boolean;
1629
1631
  /** Filters for conversations that are spam. */
1630
1632
  is_spam?: boolean;
1631
1633
  /**
@@ -1725,6 +1727,8 @@ export interface ConversationsUpdateRequest {
1725
1727
  group?: string;
1726
1728
  /** The ID of the conversation to update. */
1727
1729
  id: string;
1730
+ /** Whether the conversation is frozen. */
1731
+ is_frozen?: boolean;
1728
1732
  /** Whether the conversation is spam. */
1729
1733
  is_spam?: boolean;
1730
1734
  members?: ConversationsUpdateRequestMembers;
@@ -3312,8 +3316,6 @@ export type Incident = AtomBase & {
3312
3316
  identified_date?: string;
3313
3317
  /** Details of the impact due to the incident. */
3314
3318
  impact?: ImpactedCustomerDetails;
3315
- /** List of customers impacted due to the incident. */
3316
- impacted_customers?: AccountSummary[];
3317
3319
  /**
3318
3320
  * Timestamp when the incident was mitigated.
3319
3321
  * @format date-time
@@ -3330,11 +3332,6 @@ export type Incident = AtomBase & {
3330
3332
  source?: EnumValue;
3331
3333
  /** Describes the current stage of a object. */
3332
3334
  stage?: Stage;
3333
- /**
3334
- * Users, along with the incident commander, involved in resolving
3335
- * incidents and handling communication.
3336
- */
3337
- stakeholders?: UserSummary[];
3338
3335
  /** Tags associated with the object. */
3339
3336
  tags?: TagWithValue[];
3340
3337
  /**
@@ -4012,8 +4009,12 @@ export type ProductSummary = PartBaseSummary;
4012
4009
  export type QuestionAnswer = AtomBase & {
4013
4010
  /** The Answer. */
4014
4011
  answer?: string;
4012
+ /** Details of the parts relevant to the question_answer. */
4013
+ applies_to_parts?: PartSummary[];
4015
4014
  /** The Question. */
4016
4015
  question?: string;
4016
+ /** Status of the question answer. */
4017
+ status?: QuestionAnswerStatus;
4017
4018
  /** An alternative answer suggested by the Q/A generation algorithm. */
4018
4019
  suggested_answer?: string;
4019
4020
  /**
@@ -4026,6 +4027,14 @@ export type QuestionAnswer = AtomBase & {
4026
4027
  /** Whether the Q/A was verified. */
4027
4028
  verified?: boolean;
4028
4029
  };
4030
+ /** Status of the question answer. */
4031
+ export declare enum QuestionAnswerStatus {
4032
+ Archived = "archived",
4033
+ Discarded = "discarded",
4034
+ Draft = "draft",
4035
+ Published = "published",
4036
+ ReviewNeeded = "review_needed"
4037
+ }
4029
4038
  /** remove-tag-with-value */
4030
4039
  export interface RemoveTagWithValue {
4031
4040
  /**
@@ -4533,11 +4542,11 @@ export type SchemaEnumListFieldDescriptor = SchemaFieldDescriptorBase & {
4533
4542
  * schema-field-descriptor
4534
4543
  * Set of field attributes.
4535
4544
  */
4536
- export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
4545
+ export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaJsonValueFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
4537
4546
  field_type: SchemaFieldDescriptorFieldType;
4538
4547
  };
4539
4548
  /** schema-field-descriptor-array-type */
4540
- export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
4549
+ export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaJsonValueListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
4541
4550
  base_type: SchemaFieldDescriptorArrayTypeBaseType;
4542
4551
  /**
4543
4552
  * The exact array length.
@@ -4563,6 +4572,7 @@ export declare enum SchemaFieldDescriptorArrayTypeBaseType {
4563
4572
  Enum = "enum",
4564
4573
  Id = "id",
4565
4574
  Int = "int",
4575
+ JsonValue = "json_value",
4566
4576
  RichText = "rich_text",
4567
4577
  Struct = "struct",
4568
4578
  Text = "text",
@@ -4605,6 +4615,7 @@ export declare enum SchemaFieldDescriptorFieldType {
4605
4615
  Enum = "enum",
4606
4616
  Id = "id",
4607
4617
  Int = "int",
4618
+ JsonValue = "json_value",
4608
4619
  RichText = "rich_text",
4609
4620
  Struct = "struct",
4610
4621
  Text = "text",
@@ -4700,6 +4711,16 @@ export type SchemaIntListFieldDescriptor = SchemaFieldDescriptorBase & {
4700
4711
  */
4701
4712
  lte?: number;
4702
4713
  };
4714
+ /** schema-json-value-field-descriptor */
4715
+ export type SchemaJsonValueFieldDescriptor = SchemaFieldDescriptorBase & {
4716
+ /** Default value. */
4717
+ default_value?: any;
4718
+ };
4719
+ /** schema-json-value-list-field-descriptor */
4720
+ export type SchemaJsonValueListFieldDescriptor = SchemaFieldDescriptorBase & {
4721
+ /** Default value. */
4722
+ default_value?: any[];
4723
+ };
4703
4724
  /** schema-rich-text-field-descriptor */
4704
4725
  export type SchemaRichTextFieldDescriptor = SchemaFieldDescriptorBase & {
4705
4726
  /** The contained substring. */
@@ -5954,6 +5975,8 @@ export type Ticket = WorkBase & {
5954
5975
  sla_tracker?: SlaTrackerSummary;
5955
5976
  /** Source channel of the ticket. */
5956
5977
  source_channel?: string;
5978
+ /** The properties of an enum value. */
5979
+ visibility?: EnumValue;
5957
5980
  };
5958
5981
  /** Channels of the ticket. */
5959
5982
  export declare enum TicketChannels {
@@ -7852,6 +7875,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7852
7875
  group?: string[];
7853
7876
  /** Filters for conversations that are created by verified users. */
7854
7877
  is_creator_verified?: boolean;
7878
+ /** Filters for conversations that are frozen. */
7879
+ is_frozen?: boolean;
7855
7880
  /** Filters for conversations that are spam. */
7856
7881
  is_spam?: boolean;
7857
7882
  /**
@@ -33,8 +33,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  return (mod && mod.__esModule) ? mod : { "default": mod };
34
34
  };
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.ConversationsCreateRequestTypeValue = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.AccessLevel = void 0;
37
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = void 0;
36
+ exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.QuestionAnswerStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MemberType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.ConversationsCreateRequestTypeValue = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.ArticleType = exports.ArticleStatus = exports.AccessLevel = void 0;
37
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.TicketChannels = exports.SyncRunMode = exports.SyncProgressState = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = void 0;
38
38
  var AccessLevel;
39
39
  (function (AccessLevel) {
40
40
  AccessLevel["External"] = "external";
@@ -410,6 +410,15 @@ var PartType;
410
410
  PartType["Feature"] = "feature";
411
411
  PartType["Product"] = "product";
412
412
  })(PartType = exports.PartType || (exports.PartType = {}));
413
+ /** Status of the question answer. */
414
+ var QuestionAnswerStatus;
415
+ (function (QuestionAnswerStatus) {
416
+ QuestionAnswerStatus["Archived"] = "archived";
417
+ QuestionAnswerStatus["Discarded"] = "discarded";
418
+ QuestionAnswerStatus["Draft"] = "draft";
419
+ QuestionAnswerStatus["Published"] = "published";
420
+ QuestionAnswerStatus["ReviewNeeded"] = "review_needed";
421
+ })(QuestionAnswerStatus = exports.QuestionAnswerStatus || (exports.QuestionAnswerStatus = {}));
413
422
  var SchemaFieldDescriptorArrayTypeBaseType;
414
423
  (function (SchemaFieldDescriptorArrayTypeBaseType) {
415
424
  SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
@@ -419,6 +428,7 @@ var SchemaFieldDescriptorArrayTypeBaseType;
419
428
  SchemaFieldDescriptorArrayTypeBaseType["Enum"] = "enum";
420
429
  SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
421
430
  SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
431
+ SchemaFieldDescriptorArrayTypeBaseType["JsonValue"] = "json_value";
422
432
  SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
423
433
  SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
424
434
  SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
@@ -436,6 +446,7 @@ var SchemaFieldDescriptorFieldType;
436
446
  SchemaFieldDescriptorFieldType["Enum"] = "enum";
437
447
  SchemaFieldDescriptorFieldType["Id"] = "id";
438
448
  SchemaFieldDescriptorFieldType["Int"] = "int";
449
+ SchemaFieldDescriptorFieldType["JsonValue"] = "json_value";
439
450
  SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
440
451
  SchemaFieldDescriptorFieldType["Struct"] = "struct";
441
452
  SchemaFieldDescriptorFieldType["Text"] = "text";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/typescript-sdk",
3
- "version": "1.1.52",
3
+ "version": "1.1.53",
4
4
  "description": "## SDK Generation",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {