@devrev/typescript-sdk 1.1.16 → 1.1.18

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.
@@ -33,7 +33,7 @@ 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.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.PartType = exports.OrgType = exports.OrgEnvironment = exports.ListMode = exports.IssuePriority = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorBadRequestType = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = void 0;
36
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.UserType = exports.UserState = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineCommentBodyType = exports.TicketSeverity = exports.SlaSummaryStage = exports.PartType = exports.OrgType = exports.OrgEnvironment = exports.ListMode = exports.IssuePriority = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = 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
37
  var AuthConnectionToggle;
38
38
  (function (AuthConnectionToggle) {
39
39
  AuthConnectionToggle["Disable"] = "disable";
@@ -64,6 +64,7 @@ var AuthTokenRequestedTokenType;
64
64
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatPublic"] = "urn:devrev:params:oauth:token-type:aat:public";
65
65
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDev"] = "urn:devrev:params:oauth:token-type:dev";
66
66
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePat"] = "urn:devrev:params:oauth:token-type:pat";
67
+ AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeRat"] = "urn:devrev:params:oauth:token-type:rat";
67
68
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeRev"] = "urn:devrev:params:oauth:token-type:rev";
68
69
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSession"] = "urn:devrev:params:oauth:token-type:session";
69
70
  AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionDev0"] = "urn:devrev:params:oauth:token-type:session:dev0";
@@ -83,6 +84,7 @@ var AuthTokenSubjectTokenType;
83
84
  (function (AuthTokenSubjectTokenType) {
84
85
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeJwtAuth0"] = "urn:devrev:params:oauth:token-type:jwt:auth0";
85
86
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeJwtDev"] = "urn:devrev:params:oauth:token-type:jwt:dev";
87
+ AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeRat"] = "urn:devrev:params:oauth:token-type:rat";
86
88
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeRevinfo"] = "urn:devrev:params:oauth:token-type:revinfo";
87
89
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeSession"] = "urn:devrev:params:oauth:token-type:session";
88
90
  AuthTokenSubjectTokenType["UrnDevrevParamsOauthTokenTypeSysu"] = "urn:devrev:params:oauth:token-type:sysu";
@@ -95,6 +97,18 @@ var AuthTokenTokenType;
95
97
  (function (AuthTokenTokenType) {
96
98
  AuthTokenTokenType["Bearer"] = "bearer";
97
99
  })(AuthTokenTokenType = exports.AuthTokenTokenType || (exports.AuthTokenTokenType = {}));
100
+ /** Type of date filter. */
101
+ var DateFilterType;
102
+ (function (DateFilterType) {
103
+ DateFilterType["Preset"] = "preset";
104
+ DateFilterType["Range"] = "range";
105
+ })(DateFilterType = exports.DateFilterType || (exports.DateFilterType = {}));
106
+ /** Type of date preset. */
107
+ var DateTimePresetType;
108
+ (function (DateTimePresetType) {
109
+ DateTimePresetType["LastNDays"] = "last_n_days";
110
+ DateTimePresetType["NextNDays"] = "next_n_days";
111
+ })(DateTimePresetType = exports.DateTimePresetType || (exports.DateTimePresetType = {}));
98
112
  /**
99
113
  * Defines the type for the authentication connection. Different types of
100
114
  * authentication connections have different configuration parameters.
@@ -124,6 +138,7 @@ var ErrorBadRequestType;
124
138
  ErrorBadRequestType["BadRequest"] = "bad_request";
125
139
  ErrorBadRequestType["InvalidEnumValue"] = "invalid_enum_value";
126
140
  ErrorBadRequestType["InvalidField"] = "invalid_field";
141
+ ErrorBadRequestType["MissingDependency"] = "missing_dependency";
127
142
  ErrorBadRequestType["MissingRequiredField"] = "missing_required_field";
128
143
  ErrorBadRequestType["ParseError"] = "parse_error";
129
144
  ErrorBadRequestType["ValueNotPermitted"] = "value_not_permitted";
@@ -190,6 +205,18 @@ var PartType;
190
205
  PartType["Feature"] = "feature";
191
206
  PartType["Product"] = "product";
192
207
  })(PartType = exports.PartType || (exports.PartType = {}));
208
+ /**
209
+ * The stage of the SLA. This is the metric stage which is closest to
210
+ * breach.
211
+ */
212
+ var SlaSummaryStage;
213
+ (function (SlaSummaryStage) {
214
+ SlaSummaryStage["Breached"] = "breached";
215
+ SlaSummaryStage["Completed"] = "completed";
216
+ SlaSummaryStage["Paused"] = "paused";
217
+ SlaSummaryStage["Running"] = "running";
218
+ SlaSummaryStage["Warning"] = "warning";
219
+ })(SlaSummaryStage = exports.SlaSummaryStage || (exports.SlaSummaryStage = {}));
193
220
  /** Severity of the ticket. */
194
221
  var TicketSeverity;
195
222
  (function (TicketSeverity) {
@@ -394,6 +421,15 @@ class Api extends HttpClient {
394
421
  * @secure
395
422
  */
396
423
  this.artifactsLocate = (query, params = {}) => this.request(Object.assign({ path: `/artifacts.locate`, method: 'GET', query: query, secure: true, format: 'json' }, params));
424
+ /**
425
+ * @description Gets the download URL for the artifact.
426
+ *
427
+ * @tags artifacts
428
+ * @name ArtifactsLocatePost
429
+ * @request POST:/artifacts.locate
430
+ * @secure
431
+ */
432
+ this.artifactsLocatePost = (data, params = {}) => this.request(Object.assign({ path: `/artifacts.locate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
397
433
  /**
398
434
  * @description Creates an artifact and generates an upload URL for its data.
399
435
  *
@@ -430,6 +466,15 @@ class Api extends HttpClient {
430
466
  * @secure
431
467
  */
432
468
  this.authTokensGet = (query, params = {}) => this.request(Object.assign({ path: `/auth-tokens.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
469
+ /**
470
+ * @description Gets the token metadata corresponding to the given token ID under the given Dev organization.
471
+ *
472
+ * @tags auth-tokens
473
+ * @name AuthTokensGetPost
474
+ * @request POST:/auth-tokens.get
475
+ * @secure
476
+ */
477
+ this.authTokensGetPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
433
478
  /**
434
479
  * @description Gets the token metadata for all the tokens corresponding to the given token type issued for a given subject.
435
480
  *
@@ -439,6 +484,15 @@ class Api extends HttpClient {
439
484
  * @secure
440
485
  */
441
486
  this.authTokensList = (query, params = {}) => this.request(Object.assign({ path: `/auth-tokens.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
487
+ /**
488
+ * @description Gets the token metadata for all the tokens corresponding to the given token type issued for a given subject.
489
+ *
490
+ * @tags auth-tokens
491
+ * @name AuthTokensListPost
492
+ * @request POST:/auth-tokens.list
493
+ * @secure
494
+ */
495
+ this.authTokensListPost = (data, params = {}) => this.request(Object.assign({ path: `/auth-tokens.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
442
496
  /**
443
497
  * @description Revokes all the tokens that matches the given token type created by the authenticated user.
444
498
  *
@@ -484,6 +538,15 @@ class Api extends HttpClient {
484
538
  * @secure
485
539
  */
486
540
  this.devOrgAuthConnectionsGet = (query, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
541
+ /**
542
+ * @description Retrieves the details for an authentication connection.
543
+ *
544
+ * @tags auth-connection, dev-orgs
545
+ * @name DevOrgAuthConnectionsGetPost
546
+ * @request POST:/dev-orgs.auth-connections.get
547
+ * @secure
548
+ */
549
+ this.devOrgAuthConnectionsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
487
550
  /**
488
551
  * @description Lists all the authentication connections available for a Dev organization. This list will include both social and enterprise connections which are either available by default or are explicitly created by the user.
489
552
  *
@@ -493,6 +556,15 @@ class Api extends HttpClient {
493
556
  * @secure
494
557
  */
495
558
  this.devOrgAuthConnectionsList = (params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.list`, method: 'GET', secure: true, format: 'json' }, params));
559
+ /**
560
+ * @description Lists all the authentication connections available for a Dev organization. This list will include both social and enterprise connections which are either available by default or are explicitly created by the user.
561
+ *
562
+ * @tags auth-connection, dev-orgs
563
+ * @name DevOrgAuthConnectionsListPost
564
+ * @request POST:/dev-orgs.auth-connections.list
565
+ * @secure
566
+ */
567
+ this.devOrgAuthConnectionsListPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
496
568
  /**
497
569
  * @description Enable or disable an authentication connection for a Dev organization. Currently, only 1 authentication connection can be enabled at a time. When a new authentication connection is enabled, the connection which is currently enabled for the Dev organization is automatically disabled.
498
570
  *
@@ -520,6 +592,15 @@ class Api extends HttpClient {
520
592
  * @secure
521
593
  */
522
594
  this.devUsersGet = (query, params = {}) => this.request(Object.assign({ path: `/dev-users.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
595
+ /**
596
+ * @description Gets the requested user's information.
597
+ *
598
+ * @tags dev-users
599
+ * @name DevUsersGetPost
600
+ * @request POST:/dev-users.get
601
+ * @secure
602
+ */
603
+ this.devUsersGetPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
523
604
  /**
524
605
  * @description Lists users within your organization.
525
606
  *
@@ -529,6 +610,15 @@ class Api extends HttpClient {
529
610
  * @secure
530
611
  */
531
612
  this.devUsersList = (query, params = {}) => this.request(Object.assign({ path: `/dev-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
613
+ /**
614
+ * @description Lists users within your organization.
615
+ *
616
+ * @tags dev-users
617
+ * @name DevUsersListPost
618
+ * @request POST:/dev-users.list
619
+ * @secure
620
+ */
621
+ this.devUsersListPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
532
622
  /**
533
623
  * @description Gets the authenticated user's information.
534
624
  *
@@ -538,6 +628,15 @@ class Api extends HttpClient {
538
628
  * @secure
539
629
  */
540
630
  this.devUsersSelf = (params = {}) => this.request(Object.assign({ path: `/dev-users.self`, method: 'GET', secure: true, format: 'json' }, params));
631
+ /**
632
+ * @description Gets the authenticated user's information.
633
+ *
634
+ * @tags dev-users
635
+ * @name DevUsersSelfPost
636
+ * @request POST:/dev-users.self
637
+ * @secure
638
+ */
639
+ this.devUsersSelfPost = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.self`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
541
640
  /**
542
641
  * @description Creates new [part](https://devrev.ai/docs/product/parts).
543
642
  *
@@ -565,6 +664,15 @@ class Api extends HttpClient {
565
664
  * @secure
566
665
  */
567
666
  this.partsGet = (query, params = {}) => this.request(Object.assign({ path: `/parts.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
667
+ /**
668
+ * @description Gets a [part's](https://devrev.ai/docs/product/parts) information.
669
+ *
670
+ * @tags parts
671
+ * @name PartsGetPost
672
+ * @request POST:/parts.get
673
+ * @secure
674
+ */
675
+ this.partsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/parts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
568
676
  /**
569
677
  * @description Lists a collection of [parts](https://devrev.ai/docs/product/parts).
570
678
  *
@@ -574,6 +682,15 @@ class Api extends HttpClient {
574
682
  * @secure
575
683
  */
576
684
  this.partsList = (query, params = {}) => this.request(Object.assign({ path: `/parts.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
685
+ /**
686
+ * @description Lists a collection of [parts](https://devrev.ai/docs/product/parts).
687
+ *
688
+ * @tags parts
689
+ * @name PartsListPost
690
+ * @request POST:/parts.list
691
+ * @secure
692
+ */
693
+ this.partsListPost = (data, params = {}) => this.request(Object.assign({ path: `/parts.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
577
694
  /**
578
695
  * @description Updates a [part's](https://devrev.ai/docs/product/parts) information.
579
696
  *
@@ -610,6 +727,15 @@ class Api extends HttpClient {
610
727
  * @secure
611
728
  */
612
729
  this.revOrgsGet = (query, params = {}) => this.request(Object.assign({ path: `/rev-orgs.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
730
+ /**
731
+ * @description Retrieves the Rev organization's information.
732
+ *
733
+ * @tags rev-orgs
734
+ * @name RevOrgsGetPost
735
+ * @request POST:/rev-orgs.get
736
+ * @secure
737
+ */
738
+ this.revOrgsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-orgs.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
613
739
  /**
614
740
  * @description Gets the list of Rev organizations' information belonging to the authenticated user's Dev Organization which the user is also authorized to access.
615
741
  *
@@ -619,6 +745,15 @@ class Api extends HttpClient {
619
745
  * @secure
620
746
  */
621
747
  this.revOrgsList = (query, params = {}) => this.request(Object.assign({ path: `/rev-orgs.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
748
+ /**
749
+ * @description Gets the list of Rev organizations' information belonging to the authenticated user's Dev Organization which the user is also authorized to access.
750
+ *
751
+ * @tags rev-orgs
752
+ * @name RevOrgsListPost
753
+ * @request POST:/rev-orgs.list
754
+ * @secure
755
+ */
756
+ this.revOrgsListPost = (data, params = {}) => this.request(Object.assign({ path: `/rev-orgs.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
622
757
  /**
623
758
  * @description Updates the Rev organization's information.
624
759
  *
@@ -655,6 +790,15 @@ class Api extends HttpClient {
655
790
  * @secure
656
791
  */
657
792
  this.tagsGet = (query, params = {}) => this.request(Object.assign({ path: `/tags.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
793
+ /**
794
+ * @description Gets a tag's information.
795
+ *
796
+ * @tags tags
797
+ * @name TagsGetPost
798
+ * @request POST:/tags.get
799
+ * @secure
800
+ */
801
+ this.tagsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/tags.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
658
802
  /**
659
803
  * @description Lists the available tags.
660
804
  *
@@ -664,6 +808,15 @@ class Api extends HttpClient {
664
808
  * @secure
665
809
  */
666
810
  this.tagsList = (query, params = {}) => this.request(Object.assign({ path: `/tags.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
811
+ /**
812
+ * @description Lists the available tags.
813
+ *
814
+ * @tags tags
815
+ * @name TagsListPost
816
+ * @request POST:/tags.list
817
+ * @secure
818
+ */
819
+ this.tagsListPost = (data, params = {}) => this.request(Object.assign({ path: `/tags.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
667
820
  /**
668
821
  * @description Updates a tag's information.
669
822
  *
@@ -700,6 +853,15 @@ class Api extends HttpClient {
700
853
  * @secure
701
854
  */
702
855
  this.timelineEntriesGet = (query, params = {}) => this.request(Object.assign({ path: `/timeline-entries.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
856
+ /**
857
+ * @description Gets an entry on an object's timeline.
858
+ *
859
+ * @tags timeline-entries
860
+ * @name TimelineEntriesGetPost
861
+ * @request POST:/timeline-entries.get
862
+ * @secure
863
+ */
864
+ this.timelineEntriesGetPost = (data, params = {}) => this.request(Object.assign({ path: `/timeline-entries.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
703
865
  /**
704
866
  * @description Lists the timeline entries for an object.
705
867
  *
@@ -709,6 +871,15 @@ class Api extends HttpClient {
709
871
  * @secure
710
872
  */
711
873
  this.timelineEntriesList = (query, params = {}) => this.request(Object.assign({ path: `/timeline-entries.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
874
+ /**
875
+ * @description Lists the timeline entries for an object.
876
+ *
877
+ * @tags timeline-entries
878
+ * @name TimelineEntriesListPost
879
+ * @request POST:/timeline-entries.list
880
+ * @secure
881
+ */
882
+ this.timelineEntriesListPost = (data, params = {}) => this.request(Object.assign({ path: `/timeline-entries.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
712
883
  /**
713
884
  * @description Updates an entry on an object's timeline.
714
885
  *
@@ -745,6 +916,15 @@ class Api extends HttpClient {
745
916
  * @secure
746
917
  */
747
918
  this.webhooksGet = (query, params = {}) => this.request(Object.assign({ path: `/webhooks.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
919
+ /**
920
+ * @description Gets the requested webhook's information.
921
+ *
922
+ * @tags webhooks
923
+ * @name WebhooksGetPost
924
+ * @request POST:/webhooks.get
925
+ * @secure
926
+ */
927
+ this.webhooksGetPost = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
748
928
  /**
749
929
  * @description Lists the webhooks.
750
930
  *
@@ -754,6 +934,15 @@ class Api extends HttpClient {
754
934
  * @secure
755
935
  */
756
936
  this.webhooksList = (params = {}) => this.request(Object.assign({ path: `/webhooks.list`, method: 'GET', secure: true, format: 'json' }, params));
937
+ /**
938
+ * @description Lists the webhooks.
939
+ *
940
+ * @tags webhooks
941
+ * @name WebhooksListPost
942
+ * @request POST:/webhooks.list
943
+ * @secure
944
+ */
945
+ this.webhooksListPost = (data, params = {}) => this.request(Object.assign({ path: `/webhooks.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
757
946
  /**
758
947
  * @description Updates the requested webhook.
759
948
  *
@@ -790,6 +979,15 @@ class Api extends HttpClient {
790
979
  * @secure
791
980
  */
792
981
  this.worksExport = (query, params = {}) => this.request(Object.assign({ path: `/works.export`, method: 'GET', query: query, secure: true, format: 'json' }, params));
982
+ /**
983
+ * @description Exports a collection of work items.
984
+ *
985
+ * @tags works
986
+ * @name WorksExportPost
987
+ * @request POST:/works.export
988
+ * @secure
989
+ */
990
+ this.worksExportPost = (data, params = {}) => this.request(Object.assign({ path: `/works.export`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
793
991
  /**
794
992
  * @description Gets a work item's information.
795
993
  *
@@ -799,6 +997,15 @@ class Api extends HttpClient {
799
997
  * @secure
800
998
  */
801
999
  this.worksGet = (query, params = {}) => this.request(Object.assign({ path: `/works.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1000
+ /**
1001
+ * @description Gets a work item's information.
1002
+ *
1003
+ * @tags works
1004
+ * @name WorksGetPost
1005
+ * @request POST:/works.get
1006
+ * @secure
1007
+ */
1008
+ this.worksGetPost = (data, params = {}) => this.request(Object.assign({ path: `/works.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
802
1009
  /**
803
1010
  * @description Lists a collection of work items.
804
1011
  *
@@ -808,6 +1015,15 @@ class Api extends HttpClient {
808
1015
  * @secure
809
1016
  */
810
1017
  this.worksList = (query, params = {}) => this.request(Object.assign({ path: `/works.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
1018
+ /**
1019
+ * @description Lists a collection of work items.
1020
+ *
1021
+ * @tags works
1022
+ * @name WorksListPost
1023
+ * @request POST:/works.list
1024
+ * @secure
1025
+ */
1026
+ this.worksListPost = (data, params = {}) => this.request(Object.assign({ path: `/works.list`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
811
1027
  /**
812
1028
  * @description Updates a work item's information.
813
1029
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/typescript-sdk",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "## SDK Generation",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {