@devrev/typescript-sdk 1.1.30 → 1.1.31

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.
@@ -1218,7 +1218,8 @@ export interface ErrorBadRequestMergeWorksErrorError {
1218
1218
  different_workspace?: ErrorBadRequestMergeWorksErrorErrorDifferentWorkspace;
1219
1219
  invalid_stage_transition?: ErrorBadRequestMergeWorksErrorErrorInvalidStageTransition;
1220
1220
  locked?: ErrorBadRequestMergeWorksErrorErrorLocked;
1221
- subtype?: 'already_merged' | 'closed' | 'different_reporters' | 'different_workspace' | 'invalid_stage_transition' | 'locked';
1221
+ stage_not_found_for_subtype?: ErrorBadRequestMergeWorksErrorErrorStageNotFoundForSubtype;
1222
+ subtype?: 'already_merged' | 'closed' | 'different_reporters' | 'different_workspace' | 'invalid_stage_transition' | 'locked' | 'stage_not_found_for_subtype';
1222
1223
  /** The ID of the work which failed the validation. */
1223
1224
  work: string;
1224
1225
  }
@@ -1252,6 +1253,11 @@ export interface ErrorBadRequestMergeWorksErrorErrorInvalidStageTransition {
1252
1253
  }
1253
1254
  /** error-bad-request-merge-works-error-error-locked */
1254
1255
  export type ErrorBadRequestMergeWorksErrorErrorLocked = object;
1256
+ /** error-bad-request-merge-works-error-error-stage-not-found-for-subtype */
1257
+ export interface ErrorBadRequestMergeWorksErrorErrorStageNotFoundForSubtype {
1258
+ /** The subtype of the work for which stage is not configured. */
1259
+ subtype?: string;
1260
+ }
1255
1261
  /** error-bad-request-missing-dependency */
1256
1262
  export interface ErrorBadRequestMissingDependency {
1257
1263
  /** The dependent fields. */
@@ -1562,6 +1568,16 @@ export interface EventSlaTrackerDeleted {
1562
1568
  export interface EventSlaTrackerUpdated {
1563
1569
  sla_tracker: SlaTracker;
1564
1570
  }
1571
+ /** event-survey-created */
1572
+ export interface EventSurveyCreated {
1573
+ survey: Survey;
1574
+ }
1575
+ /** event-survey-deleted */
1576
+ export interface EventSurveyDeleted {
1577
+ /** The ID of the survey that was deleted. */
1578
+ id: string;
1579
+ old_survey?: Survey;
1580
+ }
1565
1581
  /** event-survey-response-created */
1566
1582
  export interface EventSurveyResponseCreated {
1567
1583
  survey_response: SurveyResponse;
@@ -1570,11 +1586,18 @@ export interface EventSurveyResponseCreated {
1570
1586
  export interface EventSurveyResponseDeleted {
1571
1587
  /** The ID of the survey response that was deleted. */
1572
1588
  id: string;
1589
+ old_survey_response?: SurveyResponse;
1573
1590
  }
1574
1591
  /** event-survey-response-updated */
1575
1592
  export interface EventSurveyResponseUpdated {
1593
+ old_survey_response?: SurveyResponse;
1576
1594
  survey_response: SurveyResponse;
1577
1595
  }
1596
+ /** event-survey-updated */
1597
+ export interface EventSurveyUpdated {
1598
+ old_survey?: Survey;
1599
+ survey: Survey;
1600
+ }
1578
1601
  /** event-tag-created */
1579
1602
  export interface EventTagCreated {
1580
1603
  tag: Tag;
@@ -2317,6 +2340,441 @@ export type RevUserSummary = UserBaseSummary & {
2317
2340
  external_ref?: string;
2318
2341
  rev_org?: OrgSummary;
2319
2342
  };
2343
+ /** schema-bool-field-descriptor */
2344
+ export type SchemaBoolFieldDescriptor = SchemaFieldDescriptorBase & {
2345
+ /** Default value. */
2346
+ default_value?: boolean;
2347
+ };
2348
+ /** schema-bool-list-field-descriptor */
2349
+ export type SchemaBoolListFieldDescriptor = SchemaFieldDescriptorBase & {
2350
+ /** Default value. */
2351
+ default_value?: boolean[];
2352
+ };
2353
+ /** schema-composite-field-descriptor */
2354
+ export type SchemaCompositeFieldDescriptor = SchemaFieldDescriptorBase & {
2355
+ /** Composite type. Required when field type is composite. */
2356
+ composite_type?: string;
2357
+ };
2358
+ /** schema-composite-list-field-descriptor */
2359
+ export type SchemaCompositeListFieldDescriptor = SchemaFieldDescriptorBase & {
2360
+ /** Composite type. Required when field type is composite. */
2361
+ composite_type?: string;
2362
+ };
2363
+ /** schema-date-field-descriptor */
2364
+ export type SchemaDateFieldDescriptor = SchemaFieldDescriptorBase & {
2365
+ /** Default value. */
2366
+ default_value?: string;
2367
+ };
2368
+ /** schema-date-list-field-descriptor */
2369
+ export type SchemaDateListFieldDescriptor = SchemaFieldDescriptorBase & {
2370
+ /** Default value. */
2371
+ default_value?: string[];
2372
+ };
2373
+ /** schema-double-field-descriptor */
2374
+ export type SchemaDoubleFieldDescriptor = SchemaFieldDescriptorBase & {
2375
+ /**
2376
+ * Default value.
2377
+ * @format double
2378
+ */
2379
+ default_value?: number;
2380
+ };
2381
+ /** schema-double-list-field-descriptor */
2382
+ export type SchemaDoubleListFieldDescriptor = SchemaFieldDescriptorBase & {
2383
+ /** Default value. */
2384
+ default_value?: number[];
2385
+ };
2386
+ /** schema-enum-field-descriptor */
2387
+ export type SchemaEnumFieldDescriptor = SchemaFieldDescriptorBase & {
2388
+ /** Allowed values for the field. */
2389
+ allowed_values: string[];
2390
+ /** Default value. */
2391
+ default_value?: string;
2392
+ };
2393
+ /** schema-enum-list-field-descriptor */
2394
+ export type SchemaEnumListFieldDescriptor = SchemaFieldDescriptorBase & {
2395
+ /** Allowed values for the field. */
2396
+ allowed_values: string[];
2397
+ /** Default value. */
2398
+ default_value?: string[];
2399
+ };
2400
+ /**
2401
+ * schema-field-descriptor
2402
+ * Set of field attributes.
2403
+ */
2404
+ export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
2405
+ field_type: SchemaFieldDescriptorFieldType;
2406
+ };
2407
+ /** schema-field-descriptor-array-type */
2408
+ export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
2409
+ base_type: SchemaFieldDescriptorArrayTypeBaseType;
2410
+ /**
2411
+ * The exact array length.
2412
+ * @format int64
2413
+ */
2414
+ eq_items?: number;
2415
+ /**
2416
+ * The maximum array length.
2417
+ * @format int64
2418
+ */
2419
+ max_items?: number;
2420
+ /**
2421
+ * The minimum array length.
2422
+ * @format int64
2423
+ */
2424
+ min_items?: number;
2425
+ };
2426
+ export declare enum SchemaFieldDescriptorArrayTypeBaseType {
2427
+ Bool = "bool",
2428
+ Composite = "composite",
2429
+ Date = "date",
2430
+ Double = "double",
2431
+ Enum = "enum",
2432
+ Id = "id",
2433
+ Int = "int",
2434
+ RichText = "rich_text",
2435
+ Struct = "struct",
2436
+ Text = "text",
2437
+ Timestamp = "timestamp",
2438
+ Tokens = "tokens",
2439
+ Uenum = "uenum"
2440
+ }
2441
+ /** schema-field-descriptor-base */
2442
+ export interface SchemaFieldDescriptorBase {
2443
+ /** Description of the field. */
2444
+ description?: string;
2445
+ /** Whether this field is filterable, groupable and sortable. */
2446
+ is_filterable?: boolean;
2447
+ /** Whether this field is immutable or not. */
2448
+ is_immutable?: boolean;
2449
+ /**
2450
+ * Whether this field can hold Personally Identifiable Information
2451
+ * (PII).
2452
+ */
2453
+ is_pii?: boolean;
2454
+ /** Whether this field is required or not. */
2455
+ is_required?: boolean;
2456
+ /** The schema of MFZ specific fields. */
2457
+ mfz?: SchemaFieldMfzMetadata;
2458
+ /** Name of the field. */
2459
+ name: string;
2460
+ /** The schema of oasis specific fields. */
2461
+ oasis?: SchemaFieldOasisMetadata;
2462
+ /** Type this field is from. */
2463
+ origin?: string;
2464
+ /** The schema of ui specific fields. */
2465
+ ui?: SchemaFieldUiMetadata;
2466
+ }
2467
+ export declare enum SchemaFieldDescriptorFieldType {
2468
+ Array = "array",
2469
+ Bool = "bool",
2470
+ Composite = "composite",
2471
+ Date = "date",
2472
+ Double = "double",
2473
+ Enum = "enum",
2474
+ Id = "id",
2475
+ Int = "int",
2476
+ RichText = "rich_text",
2477
+ Struct = "struct",
2478
+ Text = "text",
2479
+ Timestamp = "timestamp",
2480
+ Tokens = "tokens",
2481
+ Uenum = "uenum",
2482
+ Unknown = "unknown"
2483
+ }
2484
+ /**
2485
+ * schema-field-mfz-metadata
2486
+ * The schema of MFZ specific fields.
2487
+ */
2488
+ export type SchemaFieldMfzMetadata = object;
2489
+ /**
2490
+ * schema-field-oasis-metadata
2491
+ * The schema of oasis specific fields.
2492
+ */
2493
+ export type SchemaFieldOasisMetadata = object;
2494
+ /**
2495
+ * schema-field-uenum-value
2496
+ * A unified enum value.
2497
+ */
2498
+ export type SchemaFieldUenumValue = object;
2499
+ /**
2500
+ * schema-field-ui-metadata
2501
+ * The schema of ui specific fields.
2502
+ */
2503
+ export type SchemaFieldUiMetadata = object;
2504
+ /** schema-id-field-descriptor */
2505
+ export type SchemaIdFieldDescriptor = SchemaFieldDescriptorBase & {
2506
+ /** Default value. */
2507
+ default_value?: string;
2508
+ /** Object ID types. Required when field type is ID. */
2509
+ id_type?: string[];
2510
+ };
2511
+ /** schema-id-list-field-descriptor */
2512
+ export type SchemaIdListFieldDescriptor = SchemaFieldDescriptorBase & {
2513
+ /** Default value. */
2514
+ default_value?: string[];
2515
+ /** Object ID types. Required when field type is ID. */
2516
+ id_type?: string[];
2517
+ };
2518
+ /** schema-int-field-descriptor */
2519
+ export type SchemaIntFieldDescriptor = SchemaFieldDescriptorBase & {
2520
+ /**
2521
+ * Default value.
2522
+ * @format int64
2523
+ */
2524
+ default_value?: number;
2525
+ /**
2526
+ * The minimum value for the integer (exclusive).
2527
+ * @format int64
2528
+ */
2529
+ gt?: number;
2530
+ /**
2531
+ * The minimum value for the integer (inclusive).
2532
+ * @format int64
2533
+ */
2534
+ gte?: number;
2535
+ /**
2536
+ * The maximum value for the integer (exclusive).
2537
+ * @format int64
2538
+ */
2539
+ lt?: number;
2540
+ /**
2541
+ * The maximum value for the integer (inclusive).
2542
+ * @format int64
2543
+ */
2544
+ lte?: number;
2545
+ };
2546
+ /** schema-int-list-field-descriptor */
2547
+ export type SchemaIntListFieldDescriptor = SchemaFieldDescriptorBase & {
2548
+ /** Default value. */
2549
+ default_value?: number[];
2550
+ /**
2551
+ * The minimum value for the integer (exclusive).
2552
+ * @format int64
2553
+ */
2554
+ gt?: number;
2555
+ /**
2556
+ * The minimum value for the integer (inclusive).
2557
+ * @format int64
2558
+ */
2559
+ gte?: number;
2560
+ /**
2561
+ * The maximum value for the integer (exclusive).
2562
+ * @format int64
2563
+ */
2564
+ lt?: number;
2565
+ /**
2566
+ * The maximum value for the integer (inclusive).
2567
+ * @format int64
2568
+ */
2569
+ lte?: number;
2570
+ };
2571
+ /** schema-rich-text-field-descriptor */
2572
+ export type SchemaRichTextFieldDescriptor = SchemaFieldDescriptorBase & {
2573
+ /** The contained substring. */
2574
+ contains?: string;
2575
+ /** Default value. */
2576
+ default_value?: string;
2577
+ /**
2578
+ * The exact string length.
2579
+ * @format int64
2580
+ */
2581
+ eq_len?: number;
2582
+ /**
2583
+ * The maximum string length.
2584
+ * @format int64
2585
+ */
2586
+ max_len?: number;
2587
+ /**
2588
+ * The minimum string length.
2589
+ * @format int64
2590
+ */
2591
+ min_len?: number;
2592
+ /** The string pattern (regular expression). */
2593
+ pattern?: string;
2594
+ /** The string prefix. */
2595
+ prefix?: string;
2596
+ /** The string suffix. */
2597
+ suffix?: string;
2598
+ };
2599
+ /** schema-rich-text-list-field-descriptor */
2600
+ export type SchemaRichTextListFieldDescriptor = SchemaFieldDescriptorBase & {
2601
+ /** The contained substring. */
2602
+ contains?: string;
2603
+ /** Default value. */
2604
+ default_value?: string[];
2605
+ /**
2606
+ * The exact string length.
2607
+ * @format int64
2608
+ */
2609
+ eq_len?: number;
2610
+ /**
2611
+ * The maximum string length.
2612
+ * @format int64
2613
+ */
2614
+ max_len?: number;
2615
+ /**
2616
+ * The minimum string length.
2617
+ * @format int64
2618
+ */
2619
+ min_len?: number;
2620
+ /** The string pattern (regular expression). */
2621
+ pattern?: string;
2622
+ /** The string prefix. */
2623
+ prefix?: string;
2624
+ /** The string suffix. */
2625
+ suffix?: string;
2626
+ };
2627
+ /** schema-struct-field-descriptor */
2628
+ export type SchemaStructFieldDescriptor = SchemaFieldDescriptorBase & {
2629
+ /** Default value. */
2630
+ default_value?: object;
2631
+ };
2632
+ /** schema-struct-list-field-descriptor */
2633
+ export type SchemaStructListFieldDescriptor = SchemaFieldDescriptorBase & {
2634
+ /** Default value. */
2635
+ default_value?: object[];
2636
+ };
2637
+ /** schema-text-field-descriptor */
2638
+ export type SchemaTextFieldDescriptor = SchemaFieldDescriptorBase & {
2639
+ /** The contained substring. */
2640
+ contains?: string;
2641
+ /** Default value. */
2642
+ default_value?: string;
2643
+ /**
2644
+ * The exact string length.
2645
+ * @format int64
2646
+ */
2647
+ eq_len?: number;
2648
+ /**
2649
+ * The maximum string length.
2650
+ * @format int64
2651
+ */
2652
+ max_len?: number;
2653
+ /**
2654
+ * The minimum string length.
2655
+ * @format int64
2656
+ */
2657
+ min_len?: number;
2658
+ /** The string pattern (regular expression). */
2659
+ pattern?: string;
2660
+ /** The string prefix. */
2661
+ prefix?: string;
2662
+ /** The string suffix. */
2663
+ suffix?: string;
2664
+ };
2665
+ /** schema-text-list-field-descriptor */
2666
+ export type SchemaTextListFieldDescriptor = SchemaFieldDescriptorBase & {
2667
+ /** The contained substring. */
2668
+ contains?: string;
2669
+ /** Default value. */
2670
+ default_value?: string[];
2671
+ /**
2672
+ * The exact string length.
2673
+ * @format int64
2674
+ */
2675
+ eq_len?: number;
2676
+ /**
2677
+ * The maximum string length.
2678
+ * @format int64
2679
+ */
2680
+ max_len?: number;
2681
+ /**
2682
+ * The minimum string length.
2683
+ * @format int64
2684
+ */
2685
+ min_len?: number;
2686
+ /** The string pattern (regular expression). */
2687
+ pattern?: string;
2688
+ /** The string prefix. */
2689
+ prefix?: string;
2690
+ /** The string suffix. */
2691
+ suffix?: string;
2692
+ };
2693
+ /** schema-timestamp-field-descriptor */
2694
+ export type SchemaTimestampFieldDescriptor = SchemaFieldDescriptorBase & {
2695
+ /** Default value. */
2696
+ default_value?: string;
2697
+ };
2698
+ /** schema-timestamp-list-field-descriptor */
2699
+ export type SchemaTimestampListFieldDescriptor = SchemaFieldDescriptorBase & {
2700
+ /** Default value. */
2701
+ default_value?: string[];
2702
+ };
2703
+ /** schema-tokens-field-descriptor */
2704
+ export type SchemaTokensFieldDescriptor = SchemaFieldDescriptorBase & {
2705
+ /** The contained substring. */
2706
+ contains?: string;
2707
+ /** Default value. */
2708
+ default_value?: string;
2709
+ /**
2710
+ * The exact string length.
2711
+ * @format int64
2712
+ */
2713
+ eq_len?: number;
2714
+ /**
2715
+ * The maximum string length.
2716
+ * @format int64
2717
+ */
2718
+ max_len?: number;
2719
+ /**
2720
+ * The minimum string length.
2721
+ * @format int64
2722
+ */
2723
+ min_len?: number;
2724
+ /** The string pattern (regular expression). */
2725
+ pattern?: string;
2726
+ /** The string prefix. */
2727
+ prefix?: string;
2728
+ /** The string suffix. */
2729
+ suffix?: string;
2730
+ };
2731
+ /** schema-tokens-list-field-descriptor */
2732
+ export type SchemaTokensListFieldDescriptor = SchemaFieldDescriptorBase & {
2733
+ /** The contained substring. */
2734
+ contains?: string;
2735
+ /** Default value. */
2736
+ default_value?: string[];
2737
+ /**
2738
+ * The exact string length.
2739
+ * @format int64
2740
+ */
2741
+ eq_len?: number;
2742
+ /**
2743
+ * The maximum string length.
2744
+ * @format int64
2745
+ */
2746
+ max_len?: number;
2747
+ /**
2748
+ * The minimum string length.
2749
+ * @format int64
2750
+ */
2751
+ min_len?: number;
2752
+ /** The string pattern (regular expression). */
2753
+ pattern?: string;
2754
+ /** The string prefix. */
2755
+ prefix?: string;
2756
+ /** The string suffix. */
2757
+ suffix?: string;
2758
+ };
2759
+ /** schema-uenum-field-descriptor */
2760
+ export type SchemaUenumFieldDescriptor = SchemaFieldDescriptorBase & {
2761
+ /** Allowed values for the field. */
2762
+ allowed_values: SchemaFieldUenumValue[];
2763
+ /**
2764
+ * Default value.
2765
+ * @format int64
2766
+ */
2767
+ default_value?: number;
2768
+ };
2769
+ /** schema-uenum-list-field-descriptor */
2770
+ export type SchemaUenumListFieldDescriptor = SchemaFieldDescriptorBase & {
2771
+ /** Allowed values for the field. */
2772
+ allowed_values: SchemaFieldUenumValue[];
2773
+ /** Default value. */
2774
+ default_value?: number[];
2775
+ };
2776
+ /** schema-unknown-field-descriptor */
2777
+ export type SchemaUnknownFieldDescriptor = SchemaFieldDescriptorBase;
2320
2778
  /** set-tag-with-value */
2321
2779
  export interface SetTagWithValue {
2322
2780
  /**
@@ -2455,11 +2913,41 @@ export interface StagedInfoFilter {
2455
2913
  /** Filters for issues that are staged. */
2456
2914
  is_staged?: boolean;
2457
2915
  }
2916
+ /** survey */
2917
+ export type Survey = AtomBase & {
2918
+ /** Description of the survey. */
2919
+ description?: string;
2920
+ /** Text posted when introducing the survey to the responder. */
2921
+ introductory_text?: string;
2922
+ /**
2923
+ * Survey name associated with schema. This name would be unique per
2924
+ * dev org.
2925
+ */
2926
+ name?: string;
2927
+ /** Text posted after the response is collected. */
2928
+ response_text?: string;
2929
+ /** List of all fields in the schema. */
2930
+ schema?: SchemaFieldDescriptor[];
2931
+ /** List of all the fields and their respective metadata in the schema. */
2932
+ schema_with_metadata?: SurveyFieldWithMetadata[];
2933
+ };
2458
2934
  /**
2459
2935
  * survey-aggregation-filter
2460
2936
  * The filter for survey aggregation.
2461
2937
  */
2462
2938
  export type SurveyAggregationFilter = object;
2939
+ /**
2940
+ * survey-field-with-metadata
2941
+ * Field descriptors with additional metadata for surveys.
2942
+ */
2943
+ export interface SurveyFieldWithMetadata {
2944
+ /** Set of field attributes. */
2945
+ field?: SchemaFieldDescriptor;
2946
+ /** Additional metadata for the input field. */
2947
+ metadata?: object;
2948
+ /** The question linked to the input field. */
2949
+ question?: string;
2950
+ }
2463
2951
  /** survey-response */
2464
2952
  export type SurveyResponse = AtomBase & {
2465
2953
  /** The unique ID associated with the dispatched survey. */
@@ -2480,6 +2968,8 @@ export type SurveyResponse = AtomBase & {
2480
2968
  };
2481
2969
  /** sync-metadata-filter */
2482
2970
  export interface SyncMetadataFilter {
2971
+ /** Filters for issues with this specific external reference. */
2972
+ external_reference?: string[];
2483
2973
  last_sync_in?: SyncMetadataFilterSyncInFilter;
2484
2974
  last_sync_out?: SyncMetadataFilterSyncOutFilter;
2485
2975
  /** Filters for issues synced from this specific origin system. */
@@ -3155,9 +3645,12 @@ export interface WebhookEventRequest {
3155
3645
  sla_tracker_created?: EventSlaTrackerCreated;
3156
3646
  sla_tracker_deleted?: EventSlaTrackerDeleted;
3157
3647
  sla_tracker_updated?: EventSlaTrackerUpdated;
3648
+ survey_created?: EventSurveyCreated;
3649
+ survey_deleted?: EventSurveyDeleted;
3158
3650
  survey_response_created?: EventSurveyResponseCreated;
3159
3651
  survey_response_deleted?: EventSurveyResponseDeleted;
3160
3652
  survey_response_updated?: EventSurveyResponseUpdated;
3653
+ survey_updated?: EventSurveyUpdated;
3161
3654
  tag_created?: EventTagCreated;
3162
3655
  tag_deleted?: EventTagDeleted;
3163
3656
  tag_updated?: EventTagUpdated;
@@ -3226,6 +3719,12 @@ export declare enum WebhookEventType {
3226
3719
  SlaTrackerCreated = "sla_tracker_created",
3227
3720
  SlaTrackerDeleted = "sla_tracker_deleted",
3228
3721
  SlaTrackerUpdated = "sla_tracker_updated",
3722
+ SurveyCreated = "survey_created",
3723
+ SurveyDeleted = "survey_deleted",
3724
+ SurveyResponseCreated = "survey_response_created",
3725
+ SurveyResponseDeleted = "survey_response_deleted",
3726
+ SurveyResponseUpdated = "survey_response_updated",
3727
+ SurveyUpdated = "survey_updated",
3229
3728
  TagCreated = "tag_created",
3230
3729
  TagDeleted = "tag_deleted",
3231
3730
  TagUpdated = "tag_updated",
@@ -5044,6 +5543,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5044
5543
  'stage.name'?: string[];
5045
5544
  /** Filters for issues that are staged. */
5046
5545
  'staged_info.is_staged'?: boolean;
5546
+ /** Filters for issues with this specific external reference. */
5547
+ 'sync_metadata.external_reference'?: string[];
5047
5548
  /** Filters for works with selected sync statuses. */
5048
5549
  'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
5049
5550
  /** Filters for works modified with selected sync units. */
@@ -5181,6 +5682,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5181
5682
  'stage.name'?: string[];
5182
5683
  /** Filters for issues that are staged. */
5183
5684
  'staged_info.is_staged'?: boolean;
5685
+ /** Filters for issues with this specific external reference. */
5686
+ 'sync_metadata.external_reference'?: string[];
5184
5687
  /** Filters for works with selected sync statuses. */
5185
5688
  'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
5186
5689
  /** Filters for works modified with selected sync units. */
@@ -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.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.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.ListMode = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = void 0;
37
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = void 0;
36
+ 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.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SlaType = exports.SlaSummaryStage = exports.SlaStatus = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgEnvironment = exports.ListMode = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.DateTimePresetType = exports.DateFilterType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = void 0;
37
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = void 0;
38
38
  var AuthConnectionToggle;
39
39
  (function (AuthConnectionToggle) {
40
40
  AuthConnectionToggle["Disable"] = "disable";
@@ -269,6 +269,40 @@ var PartType;
269
269
  PartType["Feature"] = "feature";
270
270
  PartType["Product"] = "product";
271
271
  })(PartType = exports.PartType || (exports.PartType = {}));
272
+ var SchemaFieldDescriptorArrayTypeBaseType;
273
+ (function (SchemaFieldDescriptorArrayTypeBaseType) {
274
+ SchemaFieldDescriptorArrayTypeBaseType["Bool"] = "bool";
275
+ SchemaFieldDescriptorArrayTypeBaseType["Composite"] = "composite";
276
+ SchemaFieldDescriptorArrayTypeBaseType["Date"] = "date";
277
+ SchemaFieldDescriptorArrayTypeBaseType["Double"] = "double";
278
+ SchemaFieldDescriptorArrayTypeBaseType["Enum"] = "enum";
279
+ SchemaFieldDescriptorArrayTypeBaseType["Id"] = "id";
280
+ SchemaFieldDescriptorArrayTypeBaseType["Int"] = "int";
281
+ SchemaFieldDescriptorArrayTypeBaseType["RichText"] = "rich_text";
282
+ SchemaFieldDescriptorArrayTypeBaseType["Struct"] = "struct";
283
+ SchemaFieldDescriptorArrayTypeBaseType["Text"] = "text";
284
+ SchemaFieldDescriptorArrayTypeBaseType["Timestamp"] = "timestamp";
285
+ SchemaFieldDescriptorArrayTypeBaseType["Tokens"] = "tokens";
286
+ SchemaFieldDescriptorArrayTypeBaseType["Uenum"] = "uenum";
287
+ })(SchemaFieldDescriptorArrayTypeBaseType = exports.SchemaFieldDescriptorArrayTypeBaseType || (exports.SchemaFieldDescriptorArrayTypeBaseType = {}));
288
+ var SchemaFieldDescriptorFieldType;
289
+ (function (SchemaFieldDescriptorFieldType) {
290
+ SchemaFieldDescriptorFieldType["Array"] = "array";
291
+ SchemaFieldDescriptorFieldType["Bool"] = "bool";
292
+ SchemaFieldDescriptorFieldType["Composite"] = "composite";
293
+ SchemaFieldDescriptorFieldType["Date"] = "date";
294
+ SchemaFieldDescriptorFieldType["Double"] = "double";
295
+ SchemaFieldDescriptorFieldType["Enum"] = "enum";
296
+ SchemaFieldDescriptorFieldType["Id"] = "id";
297
+ SchemaFieldDescriptorFieldType["Int"] = "int";
298
+ SchemaFieldDescriptorFieldType["RichText"] = "rich_text";
299
+ SchemaFieldDescriptorFieldType["Struct"] = "struct";
300
+ SchemaFieldDescriptorFieldType["Text"] = "text";
301
+ SchemaFieldDescriptorFieldType["Timestamp"] = "timestamp";
302
+ SchemaFieldDescriptorFieldType["Tokens"] = "tokens";
303
+ SchemaFieldDescriptorFieldType["Uenum"] = "uenum";
304
+ SchemaFieldDescriptorFieldType["Unknown"] = "unknown";
305
+ })(SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorFieldType || (exports.SchemaFieldDescriptorFieldType = {}));
272
306
  /**
273
307
  * Status determines how an item can be used. In 'draft' status an item
274
308
  * can be edited but can't be used. When 'published' the item can longer
@@ -445,6 +479,12 @@ var WebhookEventType;
445
479
  WebhookEventType["SlaTrackerCreated"] = "sla_tracker_created";
446
480
  WebhookEventType["SlaTrackerDeleted"] = "sla_tracker_deleted";
447
481
  WebhookEventType["SlaTrackerUpdated"] = "sla_tracker_updated";
482
+ WebhookEventType["SurveyCreated"] = "survey_created";
483
+ WebhookEventType["SurveyDeleted"] = "survey_deleted";
484
+ WebhookEventType["SurveyResponseCreated"] = "survey_response_created";
485
+ WebhookEventType["SurveyResponseDeleted"] = "survey_response_deleted";
486
+ WebhookEventType["SurveyResponseUpdated"] = "survey_response_updated";
487
+ WebhookEventType["SurveyUpdated"] = "survey_updated";
448
488
  WebhookEventType["TagCreated"] = "tag_created";
449
489
  WebhookEventType["TagDeleted"] = "tag_deleted";
450
490
  WebhookEventType["TagUpdated"] = "tag_updated";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/typescript-sdk",
3
- "version": "1.1.30",
3
+ "version": "1.1.31",
4
4
  "description": "## SDK Generation",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {