@parra/parra-js-sdk 0.3.465 → 0.3.467
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 +52 -177
- package/dist/ParraAPI.js +4 -4
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -4740,13 +4740,8 @@ declare class ParraAPI {
|
|
4740
4740
|
uploadAttachmentForTicketById: (tenant_id: string, ticket_id: string, body: UploadImageRequestBody, options?: Options) => Promise<ImageAsset>;
|
4741
4741
|
createContentCard: (tenant_id: string, body: CreateContentCardRequestBody, options?: Options) => Promise<ContentCard>;
|
4742
4742
|
paginateContentCards: (tenant_id: string, query?: {
|
4743
|
-
|
4744
|
-
|
4745
|
-
$skip?: number;
|
4746
|
-
$orderby?: string;
|
4747
|
-
$filter?: string;
|
4748
|
-
$expand?: string;
|
4749
|
-
$search?: string;
|
4743
|
+
limit?: number;
|
4744
|
+
offset?: number;
|
4750
4745
|
}, options?: Options) => Promise<ContentCardCollectionResponse>;
|
4751
4746
|
updateBackgroundImageForContentCardById: (tenant_id: string, content_card_id: string, body: UploadImageRequestBody, options?: Options) => Promise<ContentCard>;
|
4752
4747
|
uploadAttachmentForCreatorUpdateById: (tenant_id: string, creator_update_id: string, body: UploadImageRequestBody, options?: Options) => Promise<ImageAsset>;
|
@@ -4880,13 +4875,8 @@ declare class ParraAPI {
|
|
4880
4875
|
updateFeedById: (tenant_id: string, feed_id_or_slug: string, body?: UpdateFeedRequestBody, options?: Options) => Promise<FeedView>;
|
4881
4876
|
deleteFeedById: (tenant_id: string, feed_id_or_slug: string, options?: Options) => Promise<Response>;
|
4882
4877
|
paginateItemsForFeed: (tenant_id: string, feed_id_or_slug: string, query?: {
|
4883
|
-
|
4884
|
-
|
4885
|
-
$skip?: number;
|
4886
|
-
$orderby?: string;
|
4887
|
-
$filter?: string;
|
4888
|
-
$expand?: string;
|
4889
|
-
$search?: string;
|
4878
|
+
limit?: number;
|
4879
|
+
offset?: number;
|
4890
4880
|
}, options?: Options) => Promise<FeedItemCollectionResponse>;
|
4891
4881
|
updateFeedItem: (tenant_id: string, feed_id_or_slug: string, feed_item_id: string, body?: UpdateFeedItemRequestBody, options?: Options) => Promise<FeedItem>;
|
4892
4882
|
deleteFeedItem: (tenant_id: string, feed_id_or_slug: string, feed_item_id: string, options?: Options) => Promise<Response>;
|
@@ -4902,13 +4892,8 @@ declare class ParraAPI {
|
|
4902
4892
|
removeCommentFromFeedItem: (tenant_id: string, comment_id: string, options?: Options) => Promise<Response>;
|
4903
4893
|
flagComment: (tenant_id: string, comment_id: string, body?: FlagCommentRequestBody, options?: Options) => Promise<Response>;
|
4904
4894
|
paginateCommentReviewsForTenant: (tenant_id: string, query?: {
|
4905
|
-
|
4906
|
-
|
4907
|
-
$skip?: number;
|
4908
|
-
$orderby?: string;
|
4909
|
-
$filter?: string;
|
4910
|
-
$expand?: string;
|
4911
|
-
$search?: string;
|
4895
|
+
limit?: number;
|
4896
|
+
offset?: number;
|
4912
4897
|
}, options?: Options) => Promise<CommentReviewCollectionResponse>;
|
4913
4898
|
submitCommentReview: (tenant_id: string, comment_review_id: string, body: SubmitCommentReviewRequestBody, options?: Options) => Promise<CommentReview>;
|
4914
4899
|
addReactionToComment: (tenant_id: string, comment_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
@@ -4916,25 +4901,15 @@ declare class ParraAPI {
|
|
4916
4901
|
addReactionToFeedItem: (tenant_id: string, feed_item_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
4917
4902
|
removeReactionFromFeedItem: (tenant_id: string, feed_item_id: string, reaction_id: string, options?: Options) => Promise<Response>;
|
4918
4903
|
paginateFeedbackFormResponsesForTenantUser: (tenant_id: string, user_id: string, query?: {
|
4919
|
-
|
4920
|
-
|
4921
|
-
$skip?: number;
|
4922
|
-
$orderby?: string;
|
4923
|
-
$filter?: string;
|
4924
|
-
$expand?: string;
|
4925
|
-
$search?: string;
|
4904
|
+
limit?: number;
|
4905
|
+
offset?: number;
|
4926
4906
|
}, options?: Options) => Promise<FeedbackFormResponseCollectionResponse>;
|
4927
4907
|
getFormById: (feedback_form_id: string, options?: Options) => Promise<FeedbackFormDataStub>;
|
4928
4908
|
submitFormById: (feedback_form_id: string, body?: SubmitFeedbackFormResponseBody, options?: Options) => Promise<Response>;
|
4929
|
-
createQuestion: (body: CreateQuestionRequestBody, options?: Options) => Promise<Question>;
|
4930
|
-
paginateQuestions: (query?: {
|
4931
|
-
|
4932
|
-
|
4933
|
-
$skip?: number;
|
4934
|
-
$orderby?: string;
|
4935
|
-
$filter?: string;
|
4936
|
-
$expand?: string;
|
4937
|
-
$search?: string;
|
4909
|
+
createQuestion: (tenant_id: string, body: CreateQuestionRequestBody, options?: Options) => Promise<Question>;
|
4910
|
+
paginateQuestions: (tenant_id: string, query?: {
|
4911
|
+
limit?: number;
|
4912
|
+
offset?: number;
|
4938
4913
|
}, options?: Options) => Promise<QuestionCollectionResponse>;
|
4939
4914
|
getQuestionById: (question_id: string, query?: {
|
4940
4915
|
campaign_id?: string;
|
@@ -4942,13 +4917,8 @@ declare class ParraAPI {
|
|
4942
4917
|
updateQuestionById: (question_id: string, body: UpdateQuestionRequestBody, options?: Options) => Promise<Question>;
|
4943
4918
|
deleteQuestionById: (question_id: string, options?: Options) => Promise<Response>;
|
4944
4919
|
paginateAnswersForQuestionById: (question_id: string, query?: {
|
4945
|
-
|
4946
|
-
|
4947
|
-
$skip?: number;
|
4948
|
-
$orderby?: string;
|
4949
|
-
$filter?: string;
|
4950
|
-
$expand?: string;
|
4951
|
-
$search?: string;
|
4920
|
+
limit?: number;
|
4921
|
+
offset?: number;
|
4952
4922
|
}, options?: Options) => Promise<AnswerCollectionResponse>;
|
4953
4923
|
answerQuestionById: (question_id: string, body: AnswerQuestionBody, options?: Options) => Promise<Response>;
|
4954
4924
|
bulkAnswerQuestions: (body?: BulkAnswersQuestionBody, options?: Options) => Promise<Response>;
|
@@ -4956,13 +4926,8 @@ declare class ParraAPI {
|
|
4956
4926
|
app_area_id?: string;
|
4957
4927
|
}, options?: Options) => Promise<CardsResponse>;
|
4958
4928
|
paginateFeedbackFormsForTenantById: (tenant_id: string, query?: {
|
4959
|
-
|
4960
|
-
|
4961
|
-
$skip?: number;
|
4962
|
-
$orderby?: string;
|
4963
|
-
$filter?: string;
|
4964
|
-
$expand?: string;
|
4965
|
-
$search?: string;
|
4929
|
+
limit?: number;
|
4930
|
+
offset?: number;
|
4966
4931
|
}, options?: Options) => Promise<FeedbackFormCollectionResponse>;
|
4967
4932
|
createFeedbackFormForTenantById: (tenant_id: string, body?: CreateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4968
4933
|
getFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, query?: {
|
@@ -4971,24 +4936,14 @@ declare class ParraAPI {
|
|
4971
4936
|
updateFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, body: UpdateFeedbackFormRequestBody, options?: Options) => Promise<FeedbackForm>;
|
4972
4937
|
deleteFeedbackFormForTenantById: (tenant_id: string, feedback_form_id: string, options?: Options) => Promise<Response>;
|
4973
4938
|
paginateFeedbackFormResponsesForTenantById: (tenant_id: string, feedback_form_id: string, query?: {
|
4974
|
-
|
4975
|
-
|
4976
|
-
$skip?: number;
|
4977
|
-
$orderby?: string;
|
4978
|
-
$filter?: string;
|
4979
|
-
$expand?: string;
|
4980
|
-
$search?: string;
|
4939
|
+
limit?: number;
|
4940
|
+
offset?: number;
|
4981
4941
|
}, options?: Options) => Promise<FeedbackFormResponseCollectionResponse>;
|
4982
4942
|
deleteFeedbackFormResponseById: (tenant_id: string, feedback_form_id: string, feedback_form_response_id: string, options?: Options) => Promise<Response>;
|
4983
4943
|
createAnalyticEventTypeForTenantById: (tenant_id: string, body: CreateAnalyticEventTypeRequestBody, options?: Options) => Promise<AnalyticEventType>;
|
4984
4944
|
paginateAnalyticEventTypesForTenantById: (tenant_id: string, query?: {
|
4985
|
-
|
4986
|
-
|
4987
|
-
$skip?: number;
|
4988
|
-
$orderby?: string;
|
4989
|
-
$filter?: string;
|
4990
|
-
$expand?: string;
|
4991
|
-
$search?: string;
|
4945
|
+
limit?: number;
|
4946
|
+
offset?: number;
|
4992
4947
|
}, options?: Options) => Promise<AnalyticEventTypeCollectionResponse>;
|
4993
4948
|
createAppArea: (tenant_id: string, body?: CreateAppAreaRequestBody, options?: Options) => Promise<AppArea>;
|
4994
4949
|
listAppAreas: (tenant_id: string, options?: Options) => Promise<Array<AppArea>>;
|
@@ -4997,13 +4952,8 @@ declare class ParraAPI {
|
|
4997
4952
|
deleteAppAreaById: (tenant_id: string, app_area_id: string, options?: Options) => Promise<Response>;
|
4998
4953
|
createCampaign: (tenant_id: string, body?: CreateCampaignRequestBody, options?: Options) => Promise<Campaign>;
|
4999
4954
|
paginateCampaignsForTenantById: (tenant_id: string, query?: {
|
5000
|
-
|
5001
|
-
|
5002
|
-
$skip?: number;
|
5003
|
-
$orderby?: string;
|
5004
|
-
$filter?: string;
|
5005
|
-
$expand?: string;
|
5006
|
-
$search?: string;
|
4955
|
+
limit?: number;
|
4956
|
+
offset?: number;
|
5007
4957
|
}, options?: Options) => Promise<CampaignCollectionResponse>;
|
5008
4958
|
getCampaignById: (tenant_id: string, campaign_id: string, query?: {
|
5009
4959
|
include?: string;
|
@@ -5013,23 +4963,13 @@ declare class ParraAPI {
|
|
5013
4963
|
closeCampaignById: (tenant_id: string, campaign_id: string, options?: Options) => Promise<Campaign>;
|
5014
4964
|
publishCampaignById: (tenant_id: string, campaign_id: string, body?: UpdateCampaignRequestBody, options?: Options) => Promise<Campaign>;
|
5015
4965
|
paginateTemplatesForTenantById: (tenant_id: string, query?: {
|
5016
|
-
|
5017
|
-
|
5018
|
-
$skip?: number;
|
5019
|
-
$orderby?: string;
|
5020
|
-
$filter?: string;
|
5021
|
-
$expand?: string;
|
5022
|
-
$search?: string;
|
4966
|
+
limit?: number;
|
4967
|
+
offset?: number;
|
5023
4968
|
}, options?: Options) => Promise<TemplateCollectionResponse>;
|
5024
4969
|
cloneTemplateForTenantById: (tenant_id: string, template_id: string, options?: Options) => Promise<Template>;
|
5025
4970
|
paginateTemplateTags: (query?: {
|
5026
|
-
|
5027
|
-
|
5028
|
-
$skip?: number;
|
5029
|
-
$orderby?: string;
|
5030
|
-
$filter?: string;
|
5031
|
-
$expand?: string;
|
5032
|
-
$search?: string;
|
4971
|
+
limit?: number;
|
4972
|
+
offset?: number;
|
5033
4973
|
}, options?: Options) => Promise<TemplateTagCollectionResponse>;
|
5034
4974
|
createBoardForTenantById: (tenant_id: string, body: CreateBoardRequestBody, options?: Options) => Promise<Board>;
|
5035
4975
|
listBoardsForTenantById: (tenant_id: string, query?: {
|
@@ -5037,13 +4977,8 @@ declare class ParraAPI {
|
|
5037
4977
|
}, options?: Options) => Promise<Array<Board>>;
|
5038
4978
|
createTicketForBoard: (tenant_id: string, board_id: string, body: CreateTicketRequestBody, options?: Options) => Promise<Ticket>;
|
5039
4979
|
paginateTicketsForBoard: (tenant_id: string, board_id: string, query?: {
|
5040
|
-
|
5041
|
-
|
5042
|
-
$skip?: number;
|
5043
|
-
$orderby?: string;
|
5044
|
-
$filter?: string;
|
5045
|
-
$expand?: string;
|
5046
|
-
$search?: string;
|
4980
|
+
limit?: number;
|
4981
|
+
offset?: number;
|
5047
4982
|
}, options?: Options) => Promise<TicketCollectionResponse>;
|
5048
4983
|
createBoardComponent: (tenant_id: string, board_id: string, body?: CreateBoardComponentRequestBody, options?: Options) => Promise<BoardComponent>;
|
5049
4984
|
listBoardComponents: (tenant_id: string, board_id: string, options?: Options) => Promise<Array<BoardComponent>>;
|
@@ -5052,13 +4987,8 @@ declare class ParraAPI {
|
|
5052
4987
|
deleteBoardComponentById: (tenant_id: string, board_id: string, board_component_id: string, options?: Options) => Promise<Response>;
|
5053
4988
|
createUserNoteForBoard: (tenant_id: string, board_id: string, body?: CreateUserNoteRequestBody, options?: Options) => Promise<UserNote>;
|
5054
4989
|
paginateUserNotesForBoard: (tenant_id: string, board_id: string, query?: {
|
5055
|
-
|
5056
|
-
|
5057
|
-
$skip?: number;
|
5058
|
-
$orderby?: string;
|
5059
|
-
$filter?: string;
|
5060
|
-
$expand?: string;
|
5061
|
-
$search?: string;
|
4990
|
+
limit?: number;
|
4991
|
+
offset?: number;
|
5062
4992
|
}, options?: Options) => Promise<UserNoteCollectionResponse>;
|
5063
4993
|
generateUserNoteMetricsForBoard: (tenant_id: string, board_id: string, options?: Options) => Promise<UserNoteMetrics>;
|
5064
4994
|
deleteUserNoteById: (tenant_id: string, user_note_id: string, options?: Options) => Promise<Response>;
|
@@ -5086,13 +5016,8 @@ declare class ParraAPI {
|
|
5086
5016
|
generateNextReleaseVersionInfoForTenantById: (tenant_id: string, body: ReleaseVersionInfoRequestBody, options?: Options) => Promise<ReleaseVersionInfo>;
|
5087
5017
|
createReleaseForTenantById: (tenant_id: string, body: CreateReleaseRequestBody, options?: Options) => Promise<Release>;
|
5088
5018
|
paginateReleasesForTenantById: (tenant_id: string, query?: {
|
5089
|
-
|
5090
|
-
|
5091
|
-
$skip?: number;
|
5092
|
-
$orderby?: string;
|
5093
|
-
$filter?: string;
|
5094
|
-
$expand?: string;
|
5095
|
-
$search?: string;
|
5019
|
+
limit?: number;
|
5020
|
+
offset?: number;
|
5096
5021
|
}, options?: Options) => Promise<ReleaseCollectionResponse>;
|
5097
5022
|
getReleaseForTenantById: (tenant_id: string, release_id: string, options?: Options) => Promise<Release>;
|
5098
5023
|
updateReleaseForTenantById: (tenant_id: string, release_id: string, body?: UpdateReleaseRequestBody, options?: Options) => Promise<Release>;
|
@@ -5124,13 +5049,8 @@ declare class ParraAPI {
|
|
5124
5049
|
readInboxItemsForTenantUser: (tenant_id: string, user_id: string, body: ReadInboxItemsRequestBody, options?: Options) => Promise<Response>;
|
5125
5050
|
createNotificationTemplate: (tenant_id: string, body: CreateNotificationTemplateRequestBody, options?: Options) => Promise<NotificationTemplate>;
|
5126
5051
|
paginateNotificationTemplatesForTenantById: (tenant_id: string, query?: {
|
5127
|
-
|
5128
|
-
|
5129
|
-
$skip?: number;
|
5130
|
-
$orderby?: string;
|
5131
|
-
$filter?: string;
|
5132
|
-
$expand?: string;
|
5133
|
-
$search?: string;
|
5052
|
+
limit?: number;
|
5053
|
+
offset?: number;
|
5134
5054
|
}, options?: Options) => Promise<NotificationTemplateCollectionResponse>;
|
5135
5055
|
getNotificationTemplateById: (tenant_id: string, notification_template_id: string, query?: {
|
5136
5056
|
include?: string;
|
@@ -5146,13 +5066,8 @@ declare class ParraAPI {
|
|
5146
5066
|
deleteNotificationTopicById: (tenant_id: string, notification_topic_id: string, options?: Options) => Promise<Response>;
|
5147
5067
|
createSettingsViewForTenant: (tenant_id: string, body: CreateSettingsViewRequestBody, options?: Options) => Promise<SettingsView>;
|
5148
5068
|
listSettingsViewsForTenant: (tenant_id: string, query?: {
|
5149
|
-
|
5150
|
-
|
5151
|
-
$skip?: number;
|
5152
|
-
$orderby?: string;
|
5153
|
-
$filter?: string;
|
5154
|
-
$expand?: string;
|
5155
|
-
$search?: string;
|
5069
|
+
limit?: number;
|
5070
|
+
offset?: number;
|
5156
5071
|
}, options?: Options) => Promise<Array<SettingsView>>;
|
5157
5072
|
updateSettingsViewForTenant: (tenant_id: string, settings_view_id: string, body?: UpdateSettingsViewRequestBody, options?: Options) => Promise<SettingsView>;
|
5158
5073
|
deleteSettingsViewForTenant: (tenant_id: string, settings_view_id: string, options?: Options) => Promise<Response>;
|
@@ -5172,13 +5087,8 @@ declare class ParraAPI {
|
|
5172
5087
|
checkExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<ExternalDomain>;
|
5173
5088
|
checkSubdomainAvailability: (body: SubdomainAvailabilityRequestBody, options?: Options) => Promise<SubdomainAvailabilityResponse>;
|
5174
5089
|
paginateLinksForTenantById: (tenant_id: string, query?: {
|
5175
|
-
|
5176
|
-
|
5177
|
-
$skip?: number;
|
5178
|
-
$orderby?: string;
|
5179
|
-
$filter?: string;
|
5180
|
-
$expand?: string;
|
5181
|
-
$search?: string;
|
5090
|
+
limit?: number;
|
5091
|
+
offset?: number;
|
5182
5092
|
}, options?: Options) => Promise<LinkCollectionResponse>;
|
5183
5093
|
createLinkForTenantById: (tenant_id: string, body: CreateLinkRequestBody, options?: Options) => Promise<Link>;
|
5184
5094
|
updateLinkByIdForTenantById: (tenant_id: string, link_id: string, body?: UpdateLinkRequestBody, options?: Options) => Promise<Link>;
|
@@ -5208,24 +5118,14 @@ declare class ParraAPI {
|
|
5208
5118
|
listAppStoreConnectAppsForTenantById: (tenant_id: string, options?: Options) => Promise<Array<AppStoreConnectApp>>;
|
5209
5119
|
importAppStoreConnectAppForTenantById: (tenant_id: string, app_store_connect_app_id: string, options?: Options) => Promise<Application>;
|
5210
5120
|
listDashboardChecklistItemsForTenantById: (tenant_id: string, query?: {
|
5211
|
-
|
5212
|
-
|
5213
|
-
$skip?: number;
|
5214
|
-
$orderby?: string;
|
5215
|
-
$filter?: string;
|
5216
|
-
$expand?: string;
|
5217
|
-
$search?: string;
|
5121
|
+
limit?: number;
|
5122
|
+
offset?: number;
|
5218
5123
|
}, options?: Options) => Promise<Array<DashboardChecklistItem>>;
|
5219
5124
|
deleteDashboardChecklistItemForTenantById: (tenant_id: string, dashboard_checklist_item_id: string, options?: Options) => Promise<Response>;
|
5220
5125
|
createApplicationForTenantById: (tenant_id: string, body: CreateApplicationRequestBody, options?: Options) => Promise<Application>;
|
5221
5126
|
paginateApplicationsForTenantById: (tenant_id: string, query?: {
|
5222
|
-
|
5223
|
-
|
5224
|
-
$skip?: number;
|
5225
|
-
$orderby?: string;
|
5226
|
-
$filter?: string;
|
5227
|
-
$expand?: string;
|
5228
|
-
$search?: string;
|
5127
|
+
limit?: number;
|
5128
|
+
offset?: number;
|
5229
5129
|
}, options?: Options) => Promise<ApplicationCollectionResponse>;
|
5230
5130
|
getApplicationByIdForTenantById: (tenant_id: string, application_id: string, options?: Options) => Promise<Application>;
|
5231
5131
|
updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody, options?: Options) => Promise<Application>;
|
@@ -5290,13 +5190,8 @@ declare class ParraAPI {
|
|
5290
5190
|
deleteAvatarForTenantUserById: (tenant_id: string, user_id: string, options?: Options) => Promise<Response>;
|
5291
5191
|
createUserForTenantById: (tenant_id: string, body?: CreateTenantUserRequestBody, options?: Options) => Promise<TenantUser>;
|
5292
5192
|
paginateTenantUsersForTenantById: (tenant_id: string, query?: {
|
5293
|
-
|
5294
|
-
|
5295
|
-
$skip?: number;
|
5296
|
-
$orderby?: string;
|
5297
|
-
$filter?: string;
|
5298
|
-
$expand?: string;
|
5299
|
-
$search?: string;
|
5193
|
+
limit?: number;
|
5194
|
+
offset?: number;
|
5300
5195
|
}, options?: Options) => Promise<TenantUserCollectionResponse>;
|
5301
5196
|
createIdentityForTenantUser: (tenant_id: string, user_id: string, body?: CreateTenantUserIdentityRequestBody, options?: Options) => Promise<Identity>;
|
5302
5197
|
deleteIdentityForTenantById: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
@@ -5312,26 +5207,16 @@ declare class ParraAPI {
|
|
5312
5207
|
getTenantsForUserById: (user_id: string, options?: Options) => Promise<Array<Tenant>>;
|
5313
5208
|
createMailSenderForTenantById: (tenant_id: string, body: CreateMailSenderRequestBody, options?: Options) => Promise<MailSender>;
|
5314
5209
|
paginateMailSendersForTenantById: (tenant_id: string, query?: {
|
5315
|
-
|
5316
|
-
|
5317
|
-
$skip?: number;
|
5318
|
-
$orderby?: string;
|
5319
|
-
$filter?: string;
|
5320
|
-
$expand?: string;
|
5321
|
-
$search?: string;
|
5210
|
+
limit?: number;
|
5211
|
+
offset?: number;
|
5322
5212
|
}, options?: Options) => Promise<MailSenderCollectionResponse>;
|
5323
5213
|
getMailSenderByIdForTenantById: (tenant_id: string, mail_sender_id: string, options?: Options) => Promise<MailSender>;
|
5324
5214
|
updateMailSenderByIdForTenantById: (tenant_id: string, mail_sender_id: string, body?: UpdateMailSenderRequestBody, options?: Options) => Promise<MailSender>;
|
5325
5215
|
deleteMailSenderByIdForTenantById: (tenant_id: string, mail_sender_id: string, options?: Options) => Promise<Response>;
|
5326
5216
|
createMailTemplateForTenantById: (tenant_id: string, body: CreateMailTemplateRequestBody, options?: Options) => Promise<MailTemplate>;
|
5327
5217
|
paginateMailTemplatesForTenantById: (tenant_id: string, query?: {
|
5328
|
-
|
5329
|
-
|
5330
|
-
$skip?: number;
|
5331
|
-
$orderby?: string;
|
5332
|
-
$filter?: string;
|
5333
|
-
$expand?: string;
|
5334
|
-
$search?: string;
|
5218
|
+
limit?: number;
|
5219
|
+
offset?: number;
|
5335
5220
|
}, options?: Options) => Promise<MailTemplateCollectionResponse>;
|
5336
5221
|
getMailTemplateByIdForTenantById: (tenant_id: string, mail_template_id: string, options?: Options) => Promise<MailTemplate>;
|
5337
5222
|
updateMailTemplateByIdForTenantById: (tenant_id: string, mail_template_id: string, body?: UpdateMailTemplateRequestBody, options?: Options) => Promise<MailTemplate>;
|
@@ -5345,13 +5230,8 @@ declare class ParraAPI {
|
|
5345
5230
|
generateContentForMailTemplateVersion: (tenant_id: string, mail_template_id: string, mail_template_version_id: string, body: GenerateMailTemplateVersionContentRequestBody, options?: Options) => Promise<GenerateMailTemplateVersionContentResponseBody>;
|
5346
5231
|
createPolicyDocumentForTenantById: (tenant_id: string, body: CreatePolicyDocumentRequestBody, options?: Options) => Promise<PolicyDocument>;
|
5347
5232
|
paginatePolicyDocumentsForTenantById: (tenant_id: string, query?: {
|
5348
|
-
|
5349
|
-
|
5350
|
-
$skip?: number;
|
5351
|
-
$orderby?: string;
|
5352
|
-
$filter?: string;
|
5353
|
-
$expand?: string;
|
5354
|
-
$search?: string;
|
5233
|
+
limit?: number;
|
5234
|
+
offset?: number;
|
5355
5235
|
}, options?: Options) => Promise<PolicyDocumentCollectionResponse>;
|
5356
5236
|
getPolicyDocumentByIdForTenantById: (tenant_id: string, policy_document_id: string, options?: Options) => Promise<PolicyDocument>;
|
5357
5237
|
updatePolicyDocumentByIdForTenantById: (tenant_id: string, policy_document_id: string, body?: UpdatePolicyDocumentRequestBody, options?: Options) => Promise<PolicyDocument>;
|
@@ -5364,13 +5244,8 @@ declare class ParraAPI {
|
|
5364
5244
|
deleteUserById: (user_id: string, options?: Options) => Promise<Response>;
|
5365
5245
|
createUser: (body: CreateUserRequestBody, options?: Options) => Promise<UserResponse>;
|
5366
5246
|
listUsers: (query?: {
|
5367
|
-
|
5368
|
-
|
5369
|
-
$skip?: number;
|
5370
|
-
$orderby?: string;
|
5371
|
-
$filter?: string;
|
5372
|
-
$expand?: string;
|
5373
|
-
$search?: string;
|
5247
|
+
limit?: number;
|
5248
|
+
offset?: number;
|
5374
5249
|
}, options?: Options) => Promise<UserCollectionResponse>;
|
5375
5250
|
}
|
5376
5251
|
export default ParraAPI;
|
package/dist/ParraAPI.js
CHANGED
@@ -1185,15 +1185,15 @@ var ParraAPI = /** @class */ (function () {
|
|
1185
1185
|
"content-type": "application/json",
|
1186
1186
|
}, raw: true }, options));
|
1187
1187
|
};
|
1188
|
-
this.createQuestion = function (body, options) {
|
1188
|
+
this.createQuestion = function (tenant_id, body, options) {
|
1189
1189
|
if (options === void 0) { options = {}; }
|
1190
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
1190
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/questions"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
1191
1191
|
"content-type": "application/json",
|
1192
1192
|
} }, options));
|
1193
1193
|
};
|
1194
|
-
this.paginateQuestions = function (query, options) {
|
1194
|
+
this.paginateQuestions = function (tenant_id, query, options) {
|
1195
1195
|
if (options === void 0) { options = {}; }
|
1196
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions"), __assign({ method: "get", query: query }, options));
|
1196
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/questions"), __assign({ method: "get", query: query }, options));
|
1197
1197
|
};
|
1198
1198
|
this.getQuestionById = function (question_id, query, options) {
|
1199
1199
|
if (options === void 0) { options = {}; }
|