featurebase-node 0.2.0 → 0.3.0
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.
- package/CHANGELOG.md +9 -0
- package/client.d.mts +17 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +17 -8
- package/client.d.ts.map +1 -1
- package/client.js +17 -8
- package/client.js.map +1 -1
- package/client.mjs +17 -8
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/feedback/comments.d.mts +1 -1
- package/resources/feedback/comments.d.ts +1 -1
- package/resources/feedback/posts/posts.d.mts +1 -1
- package/resources/feedback/posts/posts.d.ts +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/{products → support}/conversation-tags.d.mts +4 -4
- package/resources/{products/conversation-tags.d.ts.map → support/conversation-tags.d.mts.map} +1 -1
- package/resources/{products → support}/conversation-tags.d.ts +4 -4
- package/resources/support/conversation-tags.d.ts.map +1 -0
- package/resources/{products → support}/conversation-tags.js +4 -4
- package/resources/support/conversation-tags.js.map +1 -0
- package/resources/{products → support}/conversation-tags.mjs +4 -4
- package/resources/support/conversation-tags.mjs.map +1 -0
- package/resources/{products → support}/conversations/conversations.d.mts +7 -7
- package/resources/{products/conversations/conversations.d.ts.map → support/conversations/conversations.d.mts.map} +1 -1
- package/resources/{products → support}/conversations/conversations.d.ts +7 -7
- package/resources/support/conversations/conversations.d.ts.map +1 -0
- package/resources/{products → support}/conversations/conversations.js +7 -7
- package/resources/support/conversations/conversations.js.map +1 -0
- package/resources/{products → support}/conversations/conversations.mjs +7 -7
- package/resources/support/conversations/conversations.mjs.map +1 -0
- package/resources/{products/conversations/index.d.ts.map → support/conversations/index.d.mts.map} +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -0
- package/resources/support/conversations/index.js.map +1 -0
- package/resources/support/conversations/index.mjs.map +1 -0
- package/resources/{products → support}/conversations/participants.d.mts +2 -2
- package/resources/{products/conversations/participants.d.ts.map → support/conversations/participants.d.mts.map} +1 -1
- package/resources/{products → support}/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -0
- package/resources/{products → support}/conversations/participants.js +2 -2
- package/resources/support/conversations/participants.js.map +1 -0
- package/resources/{products → support}/conversations/participants.mjs +2 -2
- package/resources/support/conversations/participants.mjs.map +1 -0
- package/resources/{products → support}/conversations/tags.d.mts +2 -2
- package/resources/{products/conversations/tags.d.ts.map → support/conversations/tags.d.mts.map} +1 -1
- package/resources/{products → support}/conversations/tags.d.ts +2 -2
- package/resources/support/conversations/tags.d.ts.map +1 -0
- package/resources/{products → support}/conversations/tags.js +2 -2
- package/resources/support/conversations/tags.js.map +1 -0
- package/resources/{products → support}/conversations/tags.mjs +2 -2
- package/resources/support/conversations/tags.mjs.map +1 -0
- package/resources/support/conversations.d.mts.map +1 -0
- package/resources/support/conversations.d.ts.map +1 -0
- package/resources/support/conversations.js.map +1 -0
- package/resources/support/conversations.mjs.map +1 -0
- package/resources/{products → support}/index.d.mts +1 -2
- package/resources/support/index.d.mts.map +1 -0
- package/resources/{products → support}/index.d.ts +1 -2
- package/resources/support/index.d.ts.map +1 -0
- package/resources/{products → support}/index.js +3 -5
- package/resources/support/index.js.map +1 -0
- package/resources/{products → support}/index.mjs +1 -2
- package/resources/support/index.mjs.map +1 -0
- package/resources/{products/products.d.mts → support/support.d.mts} +3 -7
- package/resources/support/support.d.mts.map +1 -0
- package/resources/{products/products.d.ts → support/support.d.ts} +3 -7
- package/resources/support/support.d.ts.map +1 -0
- package/resources/{products/products.js → support/support.js} +7 -11
- package/resources/support/support.js.map +1 -0
- package/resources/{products/products.mjs → support/support.mjs} +5 -9
- package/resources/support/support.mjs.map +1 -0
- package/resources/{products → support}/tickets/categories.d.mts +2 -2
- package/resources/{products/tickets/categories.d.ts.map → support/tickets/categories.d.mts.map} +1 -1
- package/resources/{products → support}/tickets/categories.d.ts +2 -2
- package/resources/support/tickets/categories.d.ts.map +1 -0
- package/resources/{products → support}/tickets/categories.js +2 -2
- package/resources/support/tickets/categories.js.map +1 -0
- package/resources/{products → support}/tickets/categories.mjs +2 -2
- package/resources/support/tickets/categories.mjs.map +1 -0
- package/resources/{products → support}/tickets/custom-fields.d.mts +2 -2
- package/resources/{products/tickets/custom-fields.d.ts.map → support/tickets/custom-fields.d.mts.map} +1 -1
- package/resources/{products → support}/tickets/custom-fields.d.ts +2 -2
- package/resources/support/tickets/custom-fields.d.ts.map +1 -0
- package/resources/{products → support}/tickets/custom-fields.js +2 -2
- package/resources/support/tickets/custom-fields.js.map +1 -0
- package/resources/{products → support}/tickets/custom-fields.mjs +2 -2
- package/resources/support/tickets/custom-fields.mjs.map +1 -0
- package/resources/{products/tickets/index.d.ts.map → support/tickets/index.d.mts.map} +1 -1
- package/resources/support/tickets/index.d.ts.map +1 -0
- package/resources/support/tickets/index.js.map +1 -0
- package/resources/support/tickets/index.mjs.map +1 -0
- package/resources/{products → support}/tickets/statuses.d.mts +2 -2
- package/resources/{products/tickets/statuses.d.ts.map → support/tickets/statuses.d.mts.map} +1 -1
- package/resources/{products → support}/tickets/statuses.d.ts +2 -2
- package/resources/support/tickets/statuses.d.ts.map +1 -0
- package/resources/{products → support}/tickets/statuses.js +2 -2
- package/resources/support/tickets/statuses.js.map +1 -0
- package/resources/{products → support}/tickets/statuses.mjs +2 -2
- package/resources/support/tickets/statuses.mjs.map +1 -0
- package/resources/{products → support}/tickets/tickets.d.mts +8 -7
- package/resources/{products/tickets/tickets.d.ts.map → support/tickets/tickets.d.mts.map} +1 -1
- package/resources/{products → support}/tickets/tickets.d.ts +8 -7
- package/resources/support/tickets/tickets.d.ts.map +1 -0
- package/resources/{products → support}/tickets/tickets.js +6 -6
- package/resources/support/tickets/tickets.js.map +1 -0
- package/resources/{products → support}/tickets/tickets.mjs +6 -6
- package/resources/support/tickets/tickets.mjs.map +1 -0
- package/resources/support/tickets.d.mts.map +1 -0
- package/resources/support/tickets.d.ts.map +1 -0
- package/resources/support/tickets.js.map +1 -0
- package/resources/support/tickets.mjs.map +1 -0
- package/resources/support.d.mts +2 -0
- package/resources/support.d.mts.map +1 -0
- package/resources/support.d.ts +2 -0
- package/resources/support.d.ts.map +1 -0
- package/resources/{products.js → support.js} +2 -2
- package/resources/support.js.map +1 -0
- package/{src/resources/integrations.ts → resources/support.mjs} +2 -2
- package/resources/support.mjs.map +1 -0
- package/resources/{products/surveys.d.mts → surveys.d.mts} +4 -24
- package/resources/surveys.d.mts.map +1 -0
- package/resources/{products/surveys.d.ts → surveys.d.ts} +4 -24
- package/resources/surveys.d.ts.map +1 -0
- package/resources/{products/surveys.js → surveys.js} +3 -23
- package/resources/surveys.js.map +1 -0
- package/resources/{products/surveys.mjs → surveys.mjs} +3 -23
- package/resources/surveys.mjs.map +1 -0
- package/resources/{integrations/webhooks.d.mts → webhooks.d.mts} +11 -12
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/{integrations/webhooks.d.ts → webhooks.d.ts} +11 -12
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/{integrations/webhooks.js → webhooks.js} +11 -12
- package/resources/webhooks.js.map +1 -0
- package/resources/{integrations/webhooks.mjs → webhooks.mjs} +11 -12
- package/resources/webhooks.mjs.map +1 -0
- package/src/client.ts +65 -12
- package/src/resources/feedback/comments.ts +1 -1
- package/src/resources/feedback/posts/posts.ts +1 -1
- package/src/resources/index.ts +24 -2
- package/src/resources/{products → support}/conversation-tags.ts +4 -4
- package/src/resources/{products → support}/conversations/conversations.ts +7 -7
- package/src/resources/{products → support}/conversations/participants.ts +2 -2
- package/src/resources/{products → support}/conversations/tags.ts +2 -2
- package/src/resources/{products → support}/index.ts +1 -11
- package/src/resources/{products/products.ts → support/support.ts} +5 -29
- package/src/resources/{products → support}/tickets/categories.ts +2 -2
- package/src/resources/{products → support}/tickets/custom-fields.ts +2 -2
- package/src/resources/{products → support}/tickets/statuses.ts +2 -2
- package/src/resources/{products → support}/tickets/tickets.ts +8 -7
- package/src/resources/{products.ts → support.ts} +1 -1
- package/src/resources/{products/surveys.ts → surveys.ts} +6 -26
- package/src/resources/{integrations/webhooks.ts → webhooks.ts} +13 -14
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/integrations/index.d.mts +0 -3
- package/resources/integrations/index.d.mts.map +0 -1
- package/resources/integrations/index.d.ts +0 -3
- package/resources/integrations/index.d.ts.map +0 -1
- package/resources/integrations/index.js +0 -9
- package/resources/integrations/index.js.map +0 -1
- package/resources/integrations/index.mjs +0 -4
- package/resources/integrations/index.mjs.map +0 -1
- package/resources/integrations/integrations.d.mts +0 -10
- package/resources/integrations/integrations.d.mts.map +0 -1
- package/resources/integrations/integrations.d.ts +0 -10
- package/resources/integrations/integrations.d.ts.map +0 -1
- package/resources/integrations/integrations.js +0 -17
- package/resources/integrations/integrations.js.map +0 -1
- package/resources/integrations/integrations.mjs +0 -12
- package/resources/integrations/integrations.mjs.map +0 -1
- package/resources/integrations/webhooks.d.mts.map +0 -1
- package/resources/integrations/webhooks.d.ts.map +0 -1
- package/resources/integrations/webhooks.js.map +0 -1
- package/resources/integrations/webhooks.mjs.map +0 -1
- package/resources/integrations.d.mts +0 -2
- package/resources/integrations.d.mts.map +0 -1
- package/resources/integrations.d.ts +0 -2
- package/resources/integrations.d.ts.map +0 -1
- package/resources/integrations.js +0 -6
- package/resources/integrations.js.map +0 -1
- package/resources/integrations.mjs +0 -3
- package/resources/integrations.mjs.map +0 -1
- package/resources/products/conversation-tags.d.mts.map +0 -1
- package/resources/products/conversation-tags.js.map +0 -1
- package/resources/products/conversation-tags.mjs.map +0 -1
- package/resources/products/conversations/conversations.d.mts.map +0 -1
- package/resources/products/conversations/conversations.js.map +0 -1
- package/resources/products/conversations/conversations.mjs.map +0 -1
- package/resources/products/conversations/index.d.mts.map +0 -1
- package/resources/products/conversations/index.js.map +0 -1
- package/resources/products/conversations/index.mjs.map +0 -1
- package/resources/products/conversations/participants.d.mts.map +0 -1
- package/resources/products/conversations/participants.js.map +0 -1
- package/resources/products/conversations/participants.mjs.map +0 -1
- package/resources/products/conversations/tags.d.mts.map +0 -1
- package/resources/products/conversations/tags.js.map +0 -1
- package/resources/products/conversations/tags.mjs.map +0 -1
- package/resources/products/conversations.d.mts.map +0 -1
- package/resources/products/conversations.d.ts.map +0 -1
- package/resources/products/conversations.js.map +0 -1
- package/resources/products/conversations.mjs.map +0 -1
- package/resources/products/index.d.mts.map +0 -1
- package/resources/products/index.d.ts.map +0 -1
- package/resources/products/index.js.map +0 -1
- package/resources/products/index.mjs.map +0 -1
- package/resources/products/products.d.mts.map +0 -1
- package/resources/products/products.d.ts.map +0 -1
- package/resources/products/products.js.map +0 -1
- package/resources/products/products.mjs.map +0 -1
- package/resources/products/surveys.d.mts.map +0 -1
- package/resources/products/surveys.d.ts.map +0 -1
- package/resources/products/surveys.js.map +0 -1
- package/resources/products/surveys.mjs.map +0 -1
- package/resources/products/tickets/categories.d.mts.map +0 -1
- package/resources/products/tickets/categories.js.map +0 -1
- package/resources/products/tickets/categories.mjs.map +0 -1
- package/resources/products/tickets/custom-fields.d.mts.map +0 -1
- package/resources/products/tickets/custom-fields.js.map +0 -1
- package/resources/products/tickets/custom-fields.mjs.map +0 -1
- package/resources/products/tickets/index.d.mts.map +0 -1
- package/resources/products/tickets/index.js.map +0 -1
- package/resources/products/tickets/index.mjs.map +0 -1
- package/resources/products/tickets/statuses.d.mts.map +0 -1
- package/resources/products/tickets/statuses.js.map +0 -1
- package/resources/products/tickets/statuses.mjs.map +0 -1
- package/resources/products/tickets/tickets.d.mts.map +0 -1
- package/resources/products/tickets/tickets.js.map +0 -1
- package/resources/products/tickets/tickets.mjs.map +0 -1
- package/resources/products/tickets.d.mts.map +0 -1
- package/resources/products/tickets.d.ts.map +0 -1
- package/resources/products/tickets.js.map +0 -1
- package/resources/products/tickets.mjs.map +0 -1
- package/resources/products.d.mts +0 -2
- package/resources/products.d.mts.map +0 -1
- package/resources/products.d.ts +0 -2
- package/resources/products.d.ts.map +0 -1
- package/resources/products.js.map +0 -1
- package/resources/products.mjs +0 -3
- package/resources/products.mjs.map +0 -1
- package/src/resources/integrations/index.ts +0 -16
- package/src/resources/integrations/integrations.ts +0 -39
- /package/resources/{products → support}/conversations/index.d.mts +0 -0
- /package/resources/{products → support}/conversations/index.d.ts +0 -0
- /package/resources/{products → support}/conversations/index.js +0 -0
- /package/resources/{products → support}/conversations/index.mjs +0 -0
- /package/resources/{products → support}/conversations.d.mts +0 -0
- /package/resources/{products → support}/conversations.d.ts +0 -0
- /package/resources/{products → support}/conversations.js +0 -0
- /package/resources/{products → support}/conversations.mjs +0 -0
- /package/resources/{products → support}/tickets/index.d.mts +0 -0
- /package/resources/{products → support}/tickets/index.d.ts +0 -0
- /package/resources/{products → support}/tickets/index.js +0 -0
- /package/resources/{products → support}/tickets/index.mjs +0 -0
- /package/resources/{products → support}/tickets.d.mts +0 -0
- /package/resources/{products → support}/tickets.d.ts +0 -0
- /package/resources/{products → support}/tickets.js +0 -0
- /package/resources/{products → support}/tickets.mjs +0 -0
- /package/src/resources/{products → support}/conversations/index.ts +0 -0
- /package/src/resources/{products → support}/conversations.ts +0 -0
- /package/src/resources/{products → support}/tickets/index.ts +0 -0
- /package/src/resources/{products → support}/tickets.ts +0 -0
package/src/client.ts
CHANGED
|
@@ -17,6 +17,29 @@ import * as Errors from './core/error';
|
|
|
17
17
|
import * as Uploads from './core/uploads';
|
|
18
18
|
import * as API from './resources/index';
|
|
19
19
|
import { APIPromise } from './core/api-promise';
|
|
20
|
+
import {
|
|
21
|
+
Survey,
|
|
22
|
+
SurveyListParams,
|
|
23
|
+
SurveyListResponse,
|
|
24
|
+
SurveyNextAction,
|
|
25
|
+
SurveyRetrieveParams,
|
|
26
|
+
SurveyRetrieveResponsesParams,
|
|
27
|
+
SurveyRetrieveResponsesResponse,
|
|
28
|
+
Surveys,
|
|
29
|
+
} from './resources/surveys';
|
|
30
|
+
import {
|
|
31
|
+
Webhook,
|
|
32
|
+
WebhookCreateParams,
|
|
33
|
+
WebhookDeleteParams,
|
|
34
|
+
WebhookDeleteResponse,
|
|
35
|
+
WebhookListParams,
|
|
36
|
+
WebhookListResponse,
|
|
37
|
+
WebhookRefreshSecretParams,
|
|
38
|
+
WebhookRequestConfigInput,
|
|
39
|
+
WebhookRetrieveParams,
|
|
40
|
+
WebhookUpdateParams,
|
|
41
|
+
Webhooks,
|
|
42
|
+
} from './resources/webhooks';
|
|
20
43
|
import {
|
|
21
44
|
Changelog,
|
|
22
45
|
ChangelogCreateParams,
|
|
@@ -33,9 +56,8 @@ import {
|
|
|
33
56
|
} from './resources/changelogs/changelogs';
|
|
34
57
|
import { Feedback } from './resources/feedback/feedback';
|
|
35
58
|
import { HelpCenter } from './resources/help-center/help-center';
|
|
36
|
-
import { Integrations } from './resources/integrations/integrations';
|
|
37
59
|
import { Organization } from './resources/organization/organization';
|
|
38
|
-
import {
|
|
60
|
+
import { Support } from './resources/support/support';
|
|
39
61
|
import { Users } from './resources/users/users';
|
|
40
62
|
import { type Fetch } from './internal/builtin-types';
|
|
41
63
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
@@ -746,29 +768,39 @@ export class Featurebase {
|
|
|
746
768
|
|
|
747
769
|
static toFile = Uploads.toFile;
|
|
748
770
|
|
|
771
|
+
support: API.Support = new API.Support(this);
|
|
749
772
|
feedback: API.Feedback = new API.Feedback(this);
|
|
750
773
|
/**
|
|
751
774
|
* Release notes and updates published by the organization. Changelogs keep users informed about new features, improvements, and fixes.
|
|
752
775
|
*/
|
|
753
776
|
changelogs: API.Changelogs = new API.Changelogs(this);
|
|
777
|
+
helpCenter: API.HelpCenter = new API.HelpCenter(this);
|
|
754
778
|
organization: API.Organization = new API.Organization(this);
|
|
755
779
|
users: API.Users = new API.Users(this);
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
780
|
+
/**
|
|
781
|
+
* Surveys allow you to collect targeted feedback from your users within your product. Surveys can be targeted to specific user segments or pages and can contain multiple questions with conditional logic.
|
|
782
|
+
*/
|
|
783
|
+
surveys: API.Surveys = new API.Surveys(this);
|
|
784
|
+
/**
|
|
785
|
+
* Webhooks allow you to receive real-time HTTP callbacks when events occur in your Featurebase organization. Configure webhook endpoints to subscribe to specific event types.
|
|
786
|
+
*/
|
|
787
|
+
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
759
788
|
}
|
|
760
789
|
|
|
790
|
+
Featurebase.Support = Support;
|
|
761
791
|
Featurebase.Feedback = Feedback;
|
|
762
792
|
Featurebase.Changelogs = Changelogs;
|
|
793
|
+
Featurebase.HelpCenter = HelpCenter;
|
|
763
794
|
Featurebase.Organization = Organization;
|
|
764
795
|
Featurebase.Users = Users;
|
|
765
|
-
Featurebase.
|
|
766
|
-
Featurebase.
|
|
767
|
-
Featurebase.Integrations = Integrations;
|
|
796
|
+
Featurebase.Surveys = Surveys;
|
|
797
|
+
Featurebase.Webhooks = Webhooks;
|
|
768
798
|
|
|
769
799
|
export declare namespace Featurebase {
|
|
770
800
|
export type RequestOptions = Opts.RequestOptions;
|
|
771
801
|
|
|
802
|
+
export { Support as Support };
|
|
803
|
+
|
|
772
804
|
export { Feedback as Feedback };
|
|
773
805
|
|
|
774
806
|
export {
|
|
@@ -786,13 +818,34 @@ export declare namespace Featurebase {
|
|
|
786
818
|
type ChangelogUnpublishParams as ChangelogUnpublishParams,
|
|
787
819
|
};
|
|
788
820
|
|
|
821
|
+
export { HelpCenter as HelpCenter };
|
|
822
|
+
|
|
789
823
|
export { Organization as Organization };
|
|
790
824
|
|
|
791
825
|
export { Users as Users };
|
|
792
826
|
|
|
793
|
-
export {
|
|
794
|
-
|
|
795
|
-
|
|
827
|
+
export {
|
|
828
|
+
Surveys as Surveys,
|
|
829
|
+
type Survey as Survey,
|
|
830
|
+
type SurveyNextAction as SurveyNextAction,
|
|
831
|
+
type SurveyListResponse as SurveyListResponse,
|
|
832
|
+
type SurveyRetrieveResponsesResponse as SurveyRetrieveResponsesResponse,
|
|
833
|
+
type SurveyRetrieveParams as SurveyRetrieveParams,
|
|
834
|
+
type SurveyListParams as SurveyListParams,
|
|
835
|
+
type SurveyRetrieveResponsesParams as SurveyRetrieveResponsesParams,
|
|
836
|
+
};
|
|
796
837
|
|
|
797
|
-
export {
|
|
838
|
+
export {
|
|
839
|
+
Webhooks as Webhooks,
|
|
840
|
+
type Webhook as Webhook,
|
|
841
|
+
type WebhookRequestConfigInput as WebhookRequestConfigInput,
|
|
842
|
+
type WebhookListResponse as WebhookListResponse,
|
|
843
|
+
type WebhookDeleteResponse as WebhookDeleteResponse,
|
|
844
|
+
type WebhookCreateParams as WebhookCreateParams,
|
|
845
|
+
type WebhookRetrieveParams as WebhookRetrieveParams,
|
|
846
|
+
type WebhookUpdateParams as WebhookUpdateParams,
|
|
847
|
+
type WebhookListParams as WebhookListParams,
|
|
848
|
+
type WebhookDeleteParams as WebhookDeleteParams,
|
|
849
|
+
type WebhookRefreshSecretParams as WebhookRefreshSecretParams,
|
|
850
|
+
};
|
|
798
851
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as TicketsAPI from '../
|
|
4
|
+
import * as TicketsAPI from '../support/tickets/tickets';
|
|
5
5
|
import { APIPromise } from '../../core/api-promise';
|
|
6
6
|
import { buildHeaders } from '../../internal/headers';
|
|
7
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
VoterRemoveResponse,
|
|
13
13
|
Voters,
|
|
14
14
|
} from './voters';
|
|
15
|
-
import * as TicketsAPI from '../../
|
|
15
|
+
import * as TicketsAPI from '../../support/tickets/tickets';
|
|
16
16
|
import { APIPromise } from '../../../core/api-promise';
|
|
17
17
|
import { buildHeaders } from '../../../internal/headers';
|
|
18
18
|
import { RequestOptions } from '../../../internal/request-options';
|
package/src/resources/index.ts
CHANGED
|
@@ -16,7 +16,29 @@ export {
|
|
|
16
16
|
} from './changelogs/changelogs';
|
|
17
17
|
export { Feedback } from './feedback/feedback';
|
|
18
18
|
export { HelpCenter } from './help-center/help-center';
|
|
19
|
-
export { Integrations } from './integrations/integrations';
|
|
20
19
|
export { Organization } from './organization/organization';
|
|
21
|
-
export {
|
|
20
|
+
export { Support } from './support/support';
|
|
21
|
+
export {
|
|
22
|
+
Surveys,
|
|
23
|
+
type Survey,
|
|
24
|
+
type SurveyNextAction,
|
|
25
|
+
type SurveyListResponse,
|
|
26
|
+
type SurveyRetrieveResponsesResponse,
|
|
27
|
+
type SurveyRetrieveParams,
|
|
28
|
+
type SurveyListParams,
|
|
29
|
+
type SurveyRetrieveResponsesParams,
|
|
30
|
+
} from './surveys';
|
|
22
31
|
export { Users } from './users/users';
|
|
32
|
+
export {
|
|
33
|
+
Webhooks,
|
|
34
|
+
type Webhook,
|
|
35
|
+
type WebhookRequestConfigInput,
|
|
36
|
+
type WebhookListResponse,
|
|
37
|
+
type WebhookDeleteResponse,
|
|
38
|
+
type WebhookCreateParams,
|
|
39
|
+
type WebhookRetrieveParams,
|
|
40
|
+
type WebhookUpdateParams,
|
|
41
|
+
type WebhookListParams,
|
|
42
|
+
type WebhookDeleteParams,
|
|
43
|
+
type WebhookRefreshSecretParams,
|
|
44
|
+
} from './webhooks';
|
|
@@ -17,7 +17,7 @@ export class ConversationTags extends APIResource {
|
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
19
|
* const conversationTag =
|
|
20
|
-
* await client.
|
|
20
|
+
* await client.support.conversationTags.retrieve(
|
|
21
21
|
* '67ec1234abcd5678ef901234',
|
|
22
22
|
* );
|
|
23
23
|
* ```
|
|
@@ -45,7 +45,7 @@ export class ConversationTags extends APIResource {
|
|
|
45
45
|
* @example
|
|
46
46
|
* ```ts
|
|
47
47
|
* const conversationTags =
|
|
48
|
-
* await client.
|
|
48
|
+
* await client.support.conversationTags.list();
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
list(
|
|
@@ -70,7 +70,7 @@ export class ConversationTags extends APIResource {
|
|
|
70
70
|
* @example
|
|
71
71
|
* ```ts
|
|
72
72
|
* const conversationTag =
|
|
73
|
-
* await client.
|
|
73
|
+
* await client.support.conversationTags.delete(
|
|
74
74
|
* '67ec1234abcd5678ef901234',
|
|
75
75
|
* );
|
|
76
76
|
* ```
|
|
@@ -98,7 +98,7 @@ export class ConversationTags extends APIResource {
|
|
|
98
98
|
* @example
|
|
99
99
|
* ```ts
|
|
100
100
|
* const conversationTag =
|
|
101
|
-
* await client.
|
|
101
|
+
* await client.support.conversationTags.createOrRename({
|
|
102
102
|
* name: 'Churn',
|
|
103
103
|
* });
|
|
104
104
|
* ```
|
|
@@ -149,7 +149,7 @@ export class Conversations extends APIResource {
|
|
|
149
149
|
* @example
|
|
150
150
|
* ```ts
|
|
151
151
|
* const conversation =
|
|
152
|
-
* await client.
|
|
152
|
+
* await client.support.conversations.create({
|
|
153
153
|
* bodyMarkdown:
|
|
154
154
|
* 'Hello, I have a question about your product.\n\n',
|
|
155
155
|
* from: {
|
|
@@ -271,7 +271,7 @@ export class Conversations extends APIResource {
|
|
|
271
271
|
* @example
|
|
272
272
|
* ```ts
|
|
273
273
|
* const conversation =
|
|
274
|
-
* await client.
|
|
274
|
+
* await client.support.conversations.retrieve('12345');
|
|
275
275
|
* ```
|
|
276
276
|
*/
|
|
277
277
|
retrieve(
|
|
@@ -413,7 +413,7 @@ export class Conversations extends APIResource {
|
|
|
413
413
|
* @example
|
|
414
414
|
* ```ts
|
|
415
415
|
* const conversation =
|
|
416
|
-
* await client.
|
|
416
|
+
* await client.support.conversations.update('12345');
|
|
417
417
|
* ```
|
|
418
418
|
*/
|
|
419
419
|
update(id: string, params: ConversationUpdateParams, options?: RequestOptions): APIPromise<Conversation> {
|
|
@@ -493,7 +493,7 @@ export class Conversations extends APIResource {
|
|
|
493
493
|
* @example
|
|
494
494
|
* ```ts
|
|
495
495
|
* const conversations =
|
|
496
|
-
* await client.
|
|
496
|
+
* await client.support.conversations.list();
|
|
497
497
|
* ```
|
|
498
498
|
*/
|
|
499
499
|
list(
|
|
@@ -542,7 +542,7 @@ export class Conversations extends APIResource {
|
|
|
542
542
|
* @example
|
|
543
543
|
* ```ts
|
|
544
544
|
* const conversation =
|
|
545
|
-
* await client.
|
|
545
|
+
* await client.support.conversations.delete('12345');
|
|
546
546
|
* ```
|
|
547
547
|
*/
|
|
548
548
|
delete(
|
|
@@ -631,7 +631,7 @@ export class Conversations extends APIResource {
|
|
|
631
631
|
* @example
|
|
632
632
|
* ```ts
|
|
633
633
|
* const conversation =
|
|
634
|
-
* await client.
|
|
634
|
+
* await client.support.conversations.redact({
|
|
635
635
|
* conversationId: '12345',
|
|
636
636
|
* conversationPartId: '67890',
|
|
637
637
|
* type: 'conversation_part',
|
|
@@ -752,7 +752,7 @@ export class Conversations extends APIResource {
|
|
|
752
752
|
* @example
|
|
753
753
|
* ```ts
|
|
754
754
|
* const conversationPart =
|
|
755
|
-
* await client.
|
|
755
|
+
* await client.support.conversations.reply('12345', {
|
|
756
756
|
* bodyMarkdown: 'Thank you for your help!',
|
|
757
757
|
* messageType: 'reply',
|
|
758
758
|
* type: 'contact',
|
|
@@ -96,7 +96,7 @@ export class Participants extends APIResource {
|
|
|
96
96
|
* @example
|
|
97
97
|
* ```ts
|
|
98
98
|
* const conversation =
|
|
99
|
-
* await client.
|
|
99
|
+
* await client.support.conversations.participants.add(
|
|
100
100
|
* '12345',
|
|
101
101
|
* { participant: {} },
|
|
102
102
|
* );
|
|
@@ -172,7 +172,7 @@ export class Participants extends APIResource {
|
|
|
172
172
|
* @example
|
|
173
173
|
* ```ts
|
|
174
174
|
* const conversation =
|
|
175
|
-
* await client.
|
|
175
|
+
* await client.support.conversations.participants.remove(
|
|
176
176
|
* '12345',
|
|
177
177
|
* { id: '676f0f6765bdaa7d7d760f88' },
|
|
178
178
|
* );
|
|
@@ -54,7 +54,7 @@ export class Tags extends APIResource {
|
|
|
54
54
|
* @example
|
|
55
55
|
* ```ts
|
|
56
56
|
* const attachedConversationTag =
|
|
57
|
-
* await client.
|
|
57
|
+
* await client.support.conversations.tags.attach('12345', {
|
|
58
58
|
* actingAdminId: '507f1f77bcf86cd799439011',
|
|
59
59
|
* tagId: '67ec1234abcd5678ef901234',
|
|
60
60
|
* });
|
|
@@ -115,7 +115,7 @@ export class Tags extends APIResource {
|
|
|
115
115
|
* @example
|
|
116
116
|
* ```ts
|
|
117
117
|
* const attachedConversationTag =
|
|
118
|
-
* await client.
|
|
118
|
+
* await client.support.conversations.tags.detach(
|
|
119
119
|
* '67ec1234abcd5678ef901234',
|
|
120
120
|
* {
|
|
121
121
|
* id: '12345',
|
|
@@ -31,17 +31,7 @@ export {
|
|
|
31
31
|
type ConversationRedactParams,
|
|
32
32
|
type ConversationReplyParams,
|
|
33
33
|
} from './conversations/index';
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
Surveys,
|
|
37
|
-
type Survey,
|
|
38
|
-
type SurveyNextAction,
|
|
39
|
-
type SurveyListResponse,
|
|
40
|
-
type SurveyRetrieveResponsesResponse,
|
|
41
|
-
type SurveyRetrieveParams,
|
|
42
|
-
type SurveyListParams,
|
|
43
|
-
type SurveyRetrieveResponsesParams,
|
|
44
|
-
} from './surveys';
|
|
34
|
+
export { Support } from './support';
|
|
45
35
|
export {
|
|
46
36
|
Tickets,
|
|
47
37
|
type AuthorInput,
|
|
@@ -12,17 +12,6 @@ import {
|
|
|
12
12
|
ConversationTagRetrieveParams,
|
|
13
13
|
ConversationTags,
|
|
14
14
|
} from './conversation-tags';
|
|
15
|
-
import * as SurveysAPI from './surveys';
|
|
16
|
-
import {
|
|
17
|
-
Survey,
|
|
18
|
-
SurveyListParams,
|
|
19
|
-
SurveyListResponse,
|
|
20
|
-
SurveyNextAction,
|
|
21
|
-
SurveyRetrieveParams,
|
|
22
|
-
SurveyRetrieveResponsesParams,
|
|
23
|
-
SurveyRetrieveResponsesResponse,
|
|
24
|
-
Surveys,
|
|
25
|
-
} from './surveys';
|
|
26
15
|
import * as ConversationsAPI from './conversations/conversations';
|
|
27
16
|
import {
|
|
28
17
|
Conversation,
|
|
@@ -60,8 +49,7 @@ import {
|
|
|
60
49
|
Tickets,
|
|
61
50
|
} from './tickets/tickets';
|
|
62
51
|
|
|
63
|
-
export class
|
|
64
|
-
surveys: SurveysAPI.Surveys = new SurveysAPI.Surveys(this._client);
|
|
52
|
+
export class Support extends APIResource {
|
|
65
53
|
conversations: ConversationsAPI.Conversations = new ConversationsAPI.Conversations(this._client);
|
|
66
54
|
conversationTags: ConversationTagsAPI.ConversationTags = new ConversationTagsAPI.ConversationTags(
|
|
67
55
|
this._client,
|
|
@@ -69,23 +57,11 @@ export class Products extends APIResource {
|
|
|
69
57
|
tickets: TicketsAPI.Tickets = new TicketsAPI.Tickets(this._client);
|
|
70
58
|
}
|
|
71
59
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Products.Tickets = Tickets;
|
|
76
|
-
|
|
77
|
-
export declare namespace Products {
|
|
78
|
-
export {
|
|
79
|
-
Surveys as Surveys,
|
|
80
|
-
type Survey as Survey,
|
|
81
|
-
type SurveyNextAction as SurveyNextAction,
|
|
82
|
-
type SurveyListResponse as SurveyListResponse,
|
|
83
|
-
type SurveyRetrieveResponsesResponse as SurveyRetrieveResponsesResponse,
|
|
84
|
-
type SurveyRetrieveParams as SurveyRetrieveParams,
|
|
85
|
-
type SurveyListParams as SurveyListParams,
|
|
86
|
-
type SurveyRetrieveResponsesParams as SurveyRetrieveResponsesParams,
|
|
87
|
-
};
|
|
60
|
+
Support.Conversations = Conversations;
|
|
61
|
+
Support.ConversationTags = ConversationTags;
|
|
62
|
+
Support.Tickets = Tickets;
|
|
88
63
|
|
|
64
|
+
export declare namespace Support {
|
|
89
65
|
export {
|
|
90
66
|
Conversations as Conversations,
|
|
91
67
|
type Conversation as Conversation,
|
|
@@ -20,7 +20,7 @@ export class Categories extends APIResource {
|
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
22
|
* const board =
|
|
23
|
-
* await client.
|
|
23
|
+
* await client.support.tickets.categories.retrieve(
|
|
24
24
|
* '507f1f77bcf86cd799439011',
|
|
25
25
|
* );
|
|
26
26
|
* ```
|
|
@@ -58,7 +58,7 @@ export class Categories extends APIResource {
|
|
|
58
58
|
* @example
|
|
59
59
|
* ```ts
|
|
60
60
|
* const boards =
|
|
61
|
-
* await client.
|
|
61
|
+
* await client.support.tickets.categories.list();
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
list(
|
|
@@ -31,7 +31,7 @@ export class CustomFields extends APIResource {
|
|
|
31
31
|
* @example
|
|
32
32
|
* ```ts
|
|
33
33
|
* const customField =
|
|
34
|
-
* await client.
|
|
34
|
+
* await client.support.tickets.customFields.retrieve(
|
|
35
35
|
* '65d26304b2e65b1e1278170c',
|
|
36
36
|
* );
|
|
37
37
|
* ```
|
|
@@ -74,7 +74,7 @@ export class CustomFields extends APIResource {
|
|
|
74
74
|
* @example
|
|
75
75
|
* ```ts
|
|
76
76
|
* const customFieldList =
|
|
77
|
-
* await client.
|
|
77
|
+
* await client.support.tickets.customFields.list();
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
80
|
list(
|
|
@@ -19,7 +19,7 @@ export class Statuses extends APIResource {
|
|
|
19
19
|
* @example
|
|
20
20
|
* ```ts
|
|
21
21
|
* const postStatus =
|
|
22
|
-
* await client.
|
|
22
|
+
* await client.support.tickets.statuses.retrieve(
|
|
23
23
|
* '507f1f77bcf86cd799439011',
|
|
24
24
|
* );
|
|
25
25
|
* ```
|
|
@@ -54,7 +54,7 @@ export class Statuses extends APIResource {
|
|
|
54
54
|
* @example
|
|
55
55
|
* ```ts
|
|
56
56
|
* const postStatuses =
|
|
57
|
-
* await client.
|
|
57
|
+
* await client.support.tickets.statuses.list();
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
60
|
list(
|
|
@@ -78,7 +78,7 @@ export class Tickets extends APIResource {
|
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* ```ts
|
|
81
|
-
* const ticket = await client.
|
|
81
|
+
* const ticket = await client.support.tickets.create({
|
|
82
82
|
* author: {},
|
|
83
83
|
* ticketCategoryId: '507f1f77bcf86cd799439011',
|
|
84
84
|
* title: 'Cannot login to dashboard',
|
|
@@ -111,7 +111,7 @@ export class Tickets extends APIResource {
|
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* ```ts
|
|
114
|
-
* const ticket = await client.
|
|
114
|
+
* const ticket = await client.support.tickets.retrieve(1);
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
117
|
retrieve(
|
|
@@ -172,7 +172,7 @@ export class Tickets extends APIResource {
|
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* ```ts
|
|
175
|
-
* const ticket = await client.
|
|
175
|
+
* const ticket = await client.support.tickets.update(1);
|
|
176
176
|
* ```
|
|
177
177
|
*/
|
|
178
178
|
update(id: number, params: TicketUpdateParams, options?: RequestOptions): APIPromise<Ticket> {
|
|
@@ -210,7 +210,7 @@ export class Tickets extends APIResource {
|
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* ```ts
|
|
213
|
-
* const tickets = await client.
|
|
213
|
+
* const tickets = await client.support.tickets.list();
|
|
214
214
|
* ```
|
|
215
215
|
*/
|
|
216
216
|
list(
|
|
@@ -259,7 +259,7 @@ export class Tickets extends APIResource {
|
|
|
259
259
|
*
|
|
260
260
|
* @example
|
|
261
261
|
* ```ts
|
|
262
|
-
* const ticket = await client.
|
|
262
|
+
* const ticket = await client.support.tickets.delete(1);
|
|
263
263
|
* ```
|
|
264
264
|
*/
|
|
265
265
|
delete(
|
|
@@ -318,7 +318,7 @@ export class Tickets extends APIResource {
|
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* ```ts
|
|
321
|
-
* const ticket = await client.
|
|
321
|
+
* const ticket = await client.support.tickets.reply(1, {
|
|
322
322
|
* body: '<p>Thank you for your help!</p>',
|
|
323
323
|
* type: 'contact',
|
|
324
324
|
* });
|
|
@@ -835,7 +835,8 @@ export interface TicketListParams {
|
|
|
835
835
|
categoryType?: 'customer' | 'tracker' | 'back-office';
|
|
836
836
|
|
|
837
837
|
/**
|
|
838
|
-
* Query param
|
|
838
|
+
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
839
|
+
* previous response to fetch the next page of results.
|
|
839
840
|
*/
|
|
840
841
|
cursor?: string;
|
|
841
842
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as SurveysAPI from './surveys';
|
|
5
|
-
import * as ContactsAPI from '
|
|
6
|
-
import { APIPromise } from '
|
|
7
|
-
import { buildHeaders } from '
|
|
8
|
-
import { RequestOptions } from '
|
|
9
|
-
import { path } from '
|
|
5
|
+
import * as ContactsAPI from './users/contacts/contacts';
|
|
6
|
+
import { APIPromise } from '../core/api-promise';
|
|
7
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../internal/request-options';
|
|
9
|
+
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Surveys allow you to collect targeted feedback from your users within your product. Surveys can be targeted to specific user segments or pages and can contain multiple questions with conditional logic.
|
|
@@ -44,13 +44,6 @@ export class Surveys extends APIResource {
|
|
|
44
44
|
* ### Errors
|
|
45
45
|
*
|
|
46
46
|
* - `404` - Survey not found in your organization
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* const survey = await client.products.surveys.retrieve(
|
|
51
|
-
* '6743752ca81ae59d25cf834b',
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
47
|
*/
|
|
55
48
|
retrieve(
|
|
56
49
|
id: string,
|
|
@@ -98,11 +91,6 @@ export class Surveys extends APIResource {
|
|
|
98
91
|
* - `pages` - Array of survey pages/questions
|
|
99
92
|
* - `createdAt` - ISO 8601 timestamp when created
|
|
100
93
|
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* ```ts
|
|
104
|
-
* const surveys = await client.products.surveys.list();
|
|
105
|
-
* ```
|
|
106
94
|
*/
|
|
107
95
|
list(
|
|
108
96
|
params: SurveyListParams | null | undefined = {},
|
|
@@ -156,14 +144,6 @@ export class Surveys extends APIResource {
|
|
|
156
144
|
* ### Errors
|
|
157
145
|
*
|
|
158
146
|
* - `404` - Survey not found in your organization
|
|
159
|
-
*
|
|
160
|
-
* @example
|
|
161
|
-
* ```ts
|
|
162
|
-
* const response =
|
|
163
|
-
* await client.products.surveys.retrieveResponses(
|
|
164
|
-
* '6743752ca81ae59d25cf834b',
|
|
165
|
-
* );
|
|
166
|
-
* ```
|
|
167
147
|
*/
|
|
168
148
|
retrieveResponses(
|
|
169
149
|
id: string,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { buildHeaders } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Webhooks allow you to receive real-time HTTP callbacks when events occur in your Featurebase organization. Configure webhook endpoints to subscribe to specific event types.
|
|
@@ -85,7 +85,7 @@ export class Webhooks extends APIResource {
|
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* ```ts
|
|
88
|
-
* const webhook = await client.
|
|
88
|
+
* const webhook = await client.webhooks.create({
|
|
89
89
|
* name: 'Production Webhook',
|
|
90
90
|
* topics: ['post.created', 'post.updated'],
|
|
91
91
|
* url: 'https://example.com/webhooks',
|
|
@@ -168,7 +168,7 @@ export class Webhooks extends APIResource {
|
|
|
168
168
|
*
|
|
169
169
|
* @example
|
|
170
170
|
* ```ts
|
|
171
|
-
* const webhook = await client.
|
|
171
|
+
* const webhook = await client.webhooks.retrieve(
|
|
172
172
|
* '507f1f77bcf86cd799439011',
|
|
173
173
|
* );
|
|
174
174
|
* ```
|
|
@@ -258,7 +258,7 @@ export class Webhooks extends APIResource {
|
|
|
258
258
|
*
|
|
259
259
|
* @example
|
|
260
260
|
* ```ts
|
|
261
|
-
* const webhook = await client.
|
|
261
|
+
* const webhook = await client.webhooks.update(
|
|
262
262
|
* '507f1f77bcf86cd799439011',
|
|
263
263
|
* );
|
|
264
264
|
* ```
|
|
@@ -331,7 +331,7 @@ export class Webhooks extends APIResource {
|
|
|
331
331
|
*
|
|
332
332
|
* @example
|
|
333
333
|
* ```ts
|
|
334
|
-
* const webhooks = await client.
|
|
334
|
+
* const webhooks = await client.webhooks.list();
|
|
335
335
|
* ```
|
|
336
336
|
*/
|
|
337
337
|
list(
|
|
@@ -380,7 +380,7 @@ export class Webhooks extends APIResource {
|
|
|
380
380
|
*
|
|
381
381
|
* @example
|
|
382
382
|
* ```ts
|
|
383
|
-
* const webhook = await client.
|
|
383
|
+
* const webhook = await client.webhooks.delete(
|
|
384
384
|
* '507f1f77bcf86cd799439011',
|
|
385
385
|
* );
|
|
386
386
|
* ```
|
|
@@ -439,10 +439,9 @@ export class Webhooks extends APIResource {
|
|
|
439
439
|
*
|
|
440
440
|
* @example
|
|
441
441
|
* ```ts
|
|
442
|
-
* const webhook =
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
* );
|
|
442
|
+
* const webhook = await client.webhooks.refreshSecret(
|
|
443
|
+
* '507f1f77bcf86cd799439011',
|
|
444
|
+
* );
|
|
446
445
|
* ```
|
|
447
446
|
*/
|
|
448
447
|
refreshSecret(
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED