@parra/parra-js-sdk 0.3.469 → 0.3.470
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/dist/ParraAPI.d.ts +40 -21
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -4755,8 +4755,8 @@ declare class ParraAPI {
|
|
4755
4755
|
updateAppleInAppPurchase: (tenant_id: string, billing_source_id: string, apple_in_app_purchase_id: string, body?: UpdateAppleInAppPurchaseRequestBody, options?: Options) => Promise<AppleInAppPurchase>;
|
4756
4756
|
updateAppleSubscription: (tenant_id: string, billing_source_id: string, apple_subscription_id: string, body?: UpdateAppleSubscriptionRequestBody, options?: Options) => Promise<AppleSubscription>;
|
4757
4757
|
getAppPaywall: (tenant_id: string, application_id: string, query?: {
|
4758
|
-
entitlement?: string;
|
4759
|
-
context?: string;
|
4758
|
+
entitlement?: string | null;
|
4759
|
+
context?: string | null;
|
4760
4760
|
}, options?: Options) => Promise<AppPaywall>;
|
4761
4761
|
createPurchaseForTenantApplication: (tenant_id: string, application_id: string, body?: CreateAppPurchaseRequestBody, options?: Options) => Promise<AppPurchaseResponseBody>;
|
4762
4762
|
createEntitlementForTenantUserById: (tenant_id: string, user_id: string, body: CreateUserEntitlementRequestBody, options?: Options) => Promise<Response>;
|
@@ -4800,7 +4800,7 @@ declare class ParraAPI {
|
|
4800
4800
|
limit?: number;
|
4801
4801
|
offset?: number;
|
4802
4802
|
sort?: string;
|
4803
|
-
created_at?: string;
|
4803
|
+
created_at?: string | null;
|
4804
4804
|
}, options?: Options) => Promise<MessageCollectionResponse>;
|
4805
4805
|
createMessageForChatChannel: (tenant_id: string, channel_id: string, body?: CreateMessageRequestBody, options?: Options) => Promise<Message>;
|
4806
4806
|
deleteChatMessage: (tenant_id: string, message_id: string, options?: Options) => Promise<Response>;
|
@@ -4808,7 +4808,7 @@ declare class ParraAPI {
|
|
4808
4808
|
addReactionToChatMessage: (tenant_id: string, message_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
4809
4809
|
removeReactionFromChatMessage: (tenant_id: string, message_id: string, reaction_id: string, options?: Options) => Promise<Response>;
|
4810
4810
|
listAppFaqs: (tenant_id: string, application_id: string, query?: {
|
4811
|
-
app_area_id?: string;
|
4811
|
+
app_area_id?: string | null;
|
4812
4812
|
}, options?: Options) => Promise<AppFaqView>;
|
4813
4813
|
createFaqView: (tenant_id: string, body?: CreateFaqViewRequestBody, options?: Options) => Promise<FaqView>;
|
4814
4814
|
listFaqViews: (tenant_id: string, options?: Options) => Promise<Array<FaqView>>;
|
@@ -4848,9 +4848,9 @@ declare class ParraAPI {
|
|
4848
4848
|
paginateCreatorUpdatesForTenant: (tenant_id: string, query?: {
|
4849
4849
|
limit?: number;
|
4850
4850
|
offset?: number;
|
4851
|
-
topic?: string;
|
4852
|
-
search?: string;
|
4853
|
-
status?: string;
|
4851
|
+
topic?: string | null;
|
4852
|
+
search?: string | null;
|
4853
|
+
status?: string | null;
|
4854
4854
|
}, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
4855
4855
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
4856
4856
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
@@ -4886,7 +4886,7 @@ declare class ParraAPI {
|
|
4886
4886
|
limit?: number;
|
4887
4887
|
offset?: number;
|
4888
4888
|
sort?: string;
|
4889
|
-
created_at?: string;
|
4889
|
+
created_at?: string | null;
|
4890
4890
|
}, options?: Options) => Promise<CommentCollectionResponse>;
|
4891
4891
|
updateCommentForFeedItem: (tenant_id: string, comment_id: string, body?: UpdateCommentRequestBody, options?: Options) => Promise<Comment>;
|
4892
4892
|
removeCommentFromFeedItem: (tenant_id: string, comment_id: string, options?: Options) => Promise<Response>;
|
@@ -4894,6 +4894,8 @@ declare class ParraAPI {
|
|
4894
4894
|
paginateCommentReviewsForTenant: (tenant_id: string, query?: {
|
4895
4895
|
limit?: number;
|
4896
4896
|
offset?: number;
|
4897
|
+
sort?: string;
|
4898
|
+
status?: string | null;
|
4897
4899
|
}, options?: Options) => Promise<CommentReviewCollectionResponse>;
|
4898
4900
|
submitCommentReview: (tenant_id: string, comment_review_id: string, body: SubmitCommentReviewRequestBody, options?: Options) => Promise<CommentReview>;
|
4899
4901
|
addReactionToComment: (tenant_id: string, comment_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
@@ -4912,7 +4914,7 @@ declare class ParraAPI {
|
|
4912
4914
|
offset?: number;
|
4913
4915
|
}, options?: Options) => Promise<QuestionCollectionResponse>;
|
4914
4916
|
getQuestionById: (question_id: string, query?: {
|
4915
|
-
campaign_id?: string;
|
4917
|
+
campaign_id?: string | null;
|
4916
4918
|
}, options?: Options) => Promise<Question>;
|
4917
4919
|
updateQuestionById: (question_id: string, body: UpdateQuestionRequestBody, options?: Options) => Promise<Question>;
|
4918
4920
|
deleteQuestionById: (question_id: string, options?: Options) => Promise<Response>;
|
@@ -4923,7 +4925,7 @@ declare class ParraAPI {
|
|
4923
4925
|
answerQuestionById: (question_id: string, body: AnswerQuestionBody, options?: Options) => Promise<Response>;
|
4924
4926
|
bulkAnswerQuestions: (body?: BulkAnswersQuestionBody, options?: Options) => Promise<Response>;
|
4925
4927
|
getCardsForTenantById: (tenant_id: string, query?: {
|
4926
|
-
app_area_id?: string;
|
4928
|
+
app_area_id?: string | null;
|
4927
4929
|
}, options?: Options) => Promise<CardsResponse>;
|
4928
4930
|
paginateFeedbackFormsForTenantById: (tenant_id: string, query?: {
|
4929
4931
|
limit?: number;
|
@@ -4931,7 +4933,7 @@ declare class ParraAPI {
|
|
4931
4933
|
}, options?: Options) => Promise<FeedbackFormCollectionResponse>;
|
4932
4934
|
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4933
4935
|
getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, query?: {
|
4934
|
-
include?: string;
|
4936
|
+
include?: string | null;
|
4935
4937
|
}, options?: Options) => Promise<FeedbackForm>;
|
4936
4938
|
updateFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, body: UpdateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4937
4939
|
deleteFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, options?: Options) => Promise<Response>;
|
@@ -4954,9 +4956,11 @@ declare class ParraAPI {
|
|
4954
4956
|
paginateCampaignsForTenantById: (tenant_id: string, query?: {
|
4955
4957
|
limit?: number;
|
4956
4958
|
offset?: number;
|
4959
|
+
search?: string;
|
4960
|
+
status?: string | null;
|
4957
4961
|
}, options?: Options) => Promise<CampaignCollectionResponse>;
|
4958
4962
|
getCampaignById: (tenant_id: string, campaign_id: string, query?: {
|
4959
|
-
include?: string;
|
4963
|
+
include?: string | null;
|
4960
4964
|
}, options?: Options) => Promise<Campaign>;
|
4961
4965
|
updateCampaignById: (tenant_id: string, campaign_id: string, body?: UpdateCampaignRequestBody, options?: Options) => Promise<Campaign>;
|
4962
4966
|
deleteCampaignById: (tenant_id: string, campaign_id: string, options?: Options) => Promise<Response>;
|
@@ -4973,12 +4977,19 @@ declare class ParraAPI {
|
|
4973
4977
|
}, options?: Options) => Promise<TemplateTagCollectionResponse>;
|
4974
4978
|
createBoardForTenantById: (tenant_id: string, body: CreateBoardRequestBody, options?: Options) => Promise<Board>;
|
4975
4979
|
listBoardsForTenantById: (tenant_id: string, query?: {
|
4976
|
-
type?: string;
|
4980
|
+
type?: string | null;
|
4977
4981
|
}, options?: Options) => Promise<Array<Board>>;
|
4978
4982
|
createTicketForBoard: (tenant_id: string, board_id: string, body: CreateTicketRequestBody, options?: Options) => Promise<Ticket>;
|
4979
4983
|
paginateTicketsForBoard: (tenant_id: string, board_id: string, query?: {
|
4980
4984
|
limit?: number;
|
4981
4985
|
offset?: number;
|
4986
|
+
search?: string;
|
4987
|
+
sort?: string;
|
4988
|
+
status?: string | null;
|
4989
|
+
priority?: number | null;
|
4990
|
+
team_member_id?: string | null;
|
4991
|
+
reported_by_team_member_id?: string | null;
|
4992
|
+
type?: string;
|
4982
4993
|
}, options?: Options) => Promise<TicketCollectionResponse>;
|
4983
4994
|
createBoardComponent: (tenant_id: string, board_id: string, body?: CreateBoardComponentRequestBody, options?: Options) => Promise<BoardComponent>;
|
4984
4995
|
listBoardComponents: (tenant_id: string, board_id: string, options?: Options) => Promise<Array<BoardComponent>>;
|
@@ -4989,6 +5000,7 @@ declare class ParraAPI {
|
|
4989
5000
|
paginateUserNotesForBoard: (tenant_id: string, board_id: string, query?: {
|
4990
5001
|
limit?: number;
|
4991
5002
|
offset?: number;
|
5003
|
+
status?: string | null;
|
4992
5004
|
}, options?: Options) => Promise<UserNoteCollectionResponse>;
|
4993
5005
|
generateUserNoteMetricsForBoard: (tenant_id: string, board_id: string, options?: Options) => Promise<UserNoteMetrics>;
|
4994
5006
|
deleteUserNoteById: (tenant_id: string, user_note_id: string, options?: Options) => Promise<Response>;
|
@@ -5018,6 +5030,10 @@ declare class ParraAPI {
|
|
5018
5030
|
paginateReleasesForTenantById: (tenant_id: string, query?: {
|
5019
5031
|
limit?: number;
|
5020
5032
|
offset?: number;
|
5033
|
+
search?: string;
|
5034
|
+
sort?: string;
|
5035
|
+
expand?: string;
|
5036
|
+
status?: string;
|
5021
5037
|
}, options?: Options) => Promise<ReleaseCollectionResponse>;
|
5022
5038
|
getReleaseForTenantById: (tenant_id: string, release_id: string, options?: Options) => Promise<Release>;
|
5023
5039
|
updateReleaseForTenantById: (tenant_id: string, release_id: string, body?: UpdateReleaseRequestBody, options?: Options) => Promise<Release>;
|
@@ -5043,8 +5059,8 @@ declare class ParraAPI {
|
|
5043
5059
|
getInboxItemsForTenantUser: (tenant_id: string, user_id: string, query?: {
|
5044
5060
|
limit?: number;
|
5045
5061
|
offset?: number;
|
5046
|
-
group?: string;
|
5047
|
-
archived?: boolean;
|
5062
|
+
group?: string | null;
|
5063
|
+
archived?: boolean | null;
|
5048
5064
|
}, options?: Options) => Promise<InboxItemCollectionResponse>;
|
5049
5065
|
readInboxItemsForTenantUser: (tenant_id: string, user_id: string, body: ReadInboxItemsRequestBody, options?: Options) => Promise<Response>;
|
5050
5066
|
createNotificationTemplate: (tenant_id: string, body: CreateNotificationTemplateRequestBody, options?: Options) => Promise<NotificationTemplate>;
|
@@ -5053,7 +5069,7 @@ declare class ParraAPI {
|
|
5053
5069
|
offset?: number;
|
5054
5070
|
}, options?: Options) => Promise<NotificationTemplateCollectionResponse>;
|
5055
5071
|
getNotificationTemplateById: (tenant_id: string, notification_template_id: string, query?: {
|
5056
|
-
include?: string;
|
5072
|
+
include?: string | null;
|
5057
5073
|
}, options?: Options) => Promise<NotificationTemplate>;
|
5058
5074
|
updateNotificationTemplateById: (tenant_id: string, notification_template_id: string, body?: UpdateNotificationTemplateRequestBody, options?: Options) => Promise<NotificationTemplate>;
|
5059
5075
|
deleteNotificationTemplateById: (tenant_id: string, notification_template_id: string, options?: Options) => Promise<Response>;
|
@@ -5137,18 +5153,18 @@ declare class ParraAPI {
|
|
5137
5153
|
createApiKeyForTenantById: (tenant_id: string, body: CreateApiKeyRequestBody, options?: Options) => Promise<ApiKeyWithSecretResponse>;
|
5138
5154
|
getApiKeysForTenantById: (tenant_id: string, options?: Options) => Promise<ApiKeyCollectionResponse>;
|
5139
5155
|
listConnectedAppsForTenantById: (tenant_id: string, query?: {
|
5140
|
-
include?: string;
|
5141
|
-
group?: string;
|
5142
|
-
type?: string;
|
5156
|
+
include?: string | null;
|
5157
|
+
group?: string | null;
|
5158
|
+
type?: string | null;
|
5143
5159
|
}, options?: Options) => Promise<Array<TenantConnectedApp>>;
|
5144
5160
|
getConnectedAppConnectionById: (tenant_id: string, connected_app_connection_id: string, options?: Options) => Promise<ConnectedAppConnection>;
|
5145
5161
|
updateConnectedAppConnectionById: (tenant_id: string, connected_app_connection_id: string, body?: UpdateConnectedAppConnectionRequestBody, options?: Options) => Promise<ConnectedAppConnection>;
|
5146
5162
|
deleteConnectedAppConnectionById: (tenant_id: string, connected_app_connection_id: string, options?: Options) => Promise<ConnectedAppConnection>;
|
5147
5163
|
createConnectionForConnectedApp: (tenant_id: string, connected_app_id: string, body?: CreateConnectedAppConnectionRequestBody, options?: Options) => Promise<ConnectedAppConnection>;
|
5148
5164
|
listIntegrationsForTenantById: (tenant_id: string, query?: {
|
5149
|
-
include?: string;
|
5165
|
+
include?: string | null;
|
5150
5166
|
collection: string;
|
5151
|
-
resource_id?: string;
|
5167
|
+
resource_id?: string | null;
|
5152
5168
|
}, options?: Options) => Promise<Array<TenantIntegration>>;
|
5153
5169
|
updateIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, body?: UpdateIntegrationConnectionRequestBody, options?: Options) => Promise<IntegrationConnection>;
|
5154
5170
|
deleteIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, options?: Options) => Promise<IntegrationConnection>;
|
@@ -5192,6 +5208,8 @@ declare class ParraAPI {
|
|
5192
5208
|
paginateTenantUsersForTenantById: (tenant_id: string, query?: {
|
5193
5209
|
limit?: number;
|
5194
5210
|
offset?: number;
|
5211
|
+
sort?: string;
|
5212
|
+
search?: string;
|
5195
5213
|
}, options?: Options) => Promise<TenantUserCollectionResponse>;
|
5196
5214
|
createIdentityForTenantUser: (tenant_id: string, user_id: string, body?: CreateTenantUserIdentityRequestBody, options?: Options) => Promise<Identity>;
|
5197
5215
|
deleteIdentityForTenantById: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
@@ -5232,6 +5250,7 @@ declare class ParraAPI {
|
|
5232
5250
|
paginatePolicyDocumentsForTenantById: (tenant_id: string, query?: {
|
5233
5251
|
limit?: number;
|
5234
5252
|
offset?: number;
|
5253
|
+
type?: string | null;
|
5235
5254
|
}, options?: Options) => Promise<PolicyDocumentCollectionResponse>;
|
5236
5255
|
getPolicyDocumentByIdForTenantById: (tenant_id: string, policy_document_id: string, options?: Options) => Promise<PolicyDocument>;
|
5237
5256
|
updatePolicyDocumentByIdForTenantById: (tenant_id: string, policy_document_id: string, body?: UpdatePolicyDocumentRequestBody, options?: Options) => Promise<PolicyDocument>;
|