waldur-js-client 8.1.3 → 8.1.4-rc.1.dev.516

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/sdk.gen.js CHANGED
@@ -1316,7 +1316,7 @@ export const anonymousChatInteractionsByUserList = (options) => (options.client
1316
1316
  /**
1317
1317
  * Conversations grouped by session
1318
1318
  *
1319
- * One row per anonymous conversation (``session_id``) with aggregate counters, mirroring the authenticated threads table. Honours the same filters as the list endpoint. Read a conversation's transcript via ``by-session/{session_id}``.
1319
+ * One row per anonymous conversation (``session_id``) with aggregate counters, mirroring the authenticated threads table. Honors the same filters as the list endpoint. Read a conversation's transcript via ``by-session/{session_id}``.
1320
1320
  */
1321
1321
  export const anonymousChatInteractionsConversationsList = (options) => (options?.client ?? client).get({
1322
1322
  security: [
@@ -1329,7 +1329,7 @@ export const anonymousChatInteractionsConversationsList = (options) => (options?
1329
1329
  /**
1330
1330
  * Aggregate KPI roll-up
1331
1331
  *
1332
- * Returns aggregate counters and rates for the anonymous chat flow. Filters are honoured (date range etc.) so the same parameters work as on the list endpoint.
1332
+ * Returns aggregate counters and rates for the anonymous chat flow. Filters are honored (date range etc.) so the same parameters work as on the list endpoint.
1333
1333
  */
1334
1334
  export const anonymousChatInteractionsKpiRetrieve = (options) => (options?.client ?? client).get({
1335
1335
  security: [
@@ -2793,7 +2793,7 @@ export const callManagingOrganisationsListUsersCount = (options) => (options.cli
2793
2793
  ...options
2794
2794
  });
2795
2795
  /**
2796
- * Return statistics for call managing organisation.
2796
+ * Return statistics for call managing organization.
2797
2797
  */
2798
2798
  export const callManagingOrganisationsStatsRetrieve = (options) => (options.client ?? client).get({
2799
2799
  security: [
@@ -3196,7 +3196,7 @@ export const callWorkflowStepNotificationRulesUpdate = (options) => (options.cli
3196
3196
  * - **active**: Tasks currently being executed by workers
3197
3197
  * - **scheduled**: Tasks scheduled for future execution (with ETA)
3198
3198
  * - **reserved**: Tasks received by workers but not yet started
3199
- * - **revoked**: Task IDs that have been cancelled/revoked
3199
+ * - **revoked**: Task IDs that have been canceled/revoked
3200
3200
  * - **query_task**: Results of task queries (if any)
3201
3201
  * - **stats**: Detailed worker statistics including uptime, pool info, and broker connection
3202
3202
  *
@@ -5632,6 +5632,32 @@ export const eventConsumersDestroy = (options) => (options.client ?? client).del
5632
5632
  url: '/api/event-consumers/{uuid}/',
5633
5633
  ...options
5634
5634
  });
5635
+ /**
5636
+ * Replay the current state to a global consumer, through its own transport and filters, so a receiver that starts late can seed itself. Every active role grant is sent as a `user_role` message with `event_type` `role_snapshot`. Runs asynchronously. Staff/support only.
5637
+ */
5638
+ export const eventConsumersResync = (options) => (options.client ?? client).post({
5639
+ security: [
5640
+ { name: 'Authorization', type: 'apiKey' },
5641
+ { scheme: 'bearer', type: 'http' }
5642
+ ],
5643
+ url: '/api/event-consumers/{uuid}/resync/',
5644
+ ...options
5645
+ });
5646
+ /**
5647
+ * Change a webhook consumer's destination URL, object types or payload filters. Staff only. Omitted fields are left unchanged.
5648
+ */
5649
+ export const eventConsumersUpdateWebhook = (options) => (options.client ?? client).post({
5650
+ security: [
5651
+ { name: 'Authorization', type: 'apiKey' },
5652
+ { scheme: 'bearer', type: 'http' }
5653
+ ],
5654
+ url: '/api/event-consumers/{uuid}/update_webhook/',
5655
+ ...options,
5656
+ headers: {
5657
+ 'Content-Type': 'application/json',
5658
+ ...options.headers
5659
+ }
5660
+ });
5635
5661
  /**
5636
5662
  * Register (or refresh) an event-consumer queue for the calling user. Pass `scopes` to bind the queue to entities you hold a role on; an EMPTY `scopes` list requests a GLOBAL queue (all events, including all-user PII) and requires staff/support. Idempotent per binding set.
5637
5663
  */
@@ -5647,6 +5673,21 @@ export const eventConsumersRegister = (options) => (options?.client ?? client).p
5647
5673
  ...options?.headers
5648
5674
  }
5649
5675
  });
5676
+ /**
5677
+ * Create a webhook event consumer: the same messages a queue consumer receives are POSTed as JSON to `webhook_url` instead. Staff only. An EMPTY `scopes` list makes it global (all events, including all-user PII). Use `payload_filters` to narrow delivery, e.g. to one role, and `resync` to send the current state once.
5678
+ */
5679
+ export const eventConsumersRegisterWebhook = (options) => (options.client ?? client).post({
5680
+ security: [
5681
+ { name: 'Authorization', type: 'apiKey' },
5682
+ { scheme: 'bearer', type: 'http' }
5683
+ ],
5684
+ url: '/api/event-consumers/register_webhook/',
5685
+ ...options,
5686
+ headers: {
5687
+ 'Content-Type': 'application/json',
5688
+ ...options.headers
5689
+ }
5690
+ });
5650
5691
  /**
5651
5692
  * @deprecated
5652
5693
  */
@@ -13332,6 +13373,23 @@ export const marketplaceProviderOfferingsUpdateDescription = (options) => (optio
13332
13373
  ...options.headers
13333
13374
  }
13334
13375
  });
13376
+ /**
13377
+ * Update an access endpoint of an offering
13378
+ *
13379
+ * Updates the name and/or URL of an existing access endpoint of an offering, identified by its UUID.
13380
+ */
13381
+ export const marketplaceProviderOfferingsUpdateEndpoint = (options) => (options.client ?? client).post({
13382
+ security: [
13383
+ { name: 'Authorization', type: 'apiKey' },
13384
+ { scheme: 'bearer', type: 'http' }
13385
+ ],
13386
+ url: '/api/marketplace-provider-offerings/{uuid}/update_endpoint/',
13387
+ ...options,
13388
+ headers: {
13389
+ 'Content-Type': 'application/json',
13390
+ ...options.headers
13391
+ }
13392
+ });
13335
13393
  /**
13336
13394
  * Update offering image
13337
13395
  *
@@ -17148,7 +17206,7 @@ export const marketplaceServiceProvidersAddUser = (options) => (options.client ?
17148
17206
  *
17149
17207
  * Backs every offering account at this provider with one provider-level account per user, so a person resolves to a single username and POSIX identity across the provider's offerings.
17150
17208
  *
17151
- * Users whose accounts already agree are adopted without input. A user whose accounts disagree must be given a surviving username in 'resolutions', keyed by user UUID — see the 'username_conflicts' action. The call is refused while any conflict is unresolved, rather than adopting part of the provider and leaving the rest on the old per-offering behaviour.
17209
+ * Users whose accounts already agree are adopted without input. A user whose accounts disagree must be given a surviving username in 'resolutions', keyed by user UUID — see the 'username_conflicts' action. The call is refused while any conflict is unresolved, rather than adopting part of the provider and leaving the rest on the old per-offering behavior.
17152
17210
  */
17153
17211
  export const marketplaceServiceProvidersAdoptProviderAccounts = (options) => (options.client ?? client).post({
17154
17212
  security: [
@@ -19795,6 +19853,19 @@ export const matrixRoomsRetrieve = (options) => (options.client ?? client).get({
19795
19853
  url: '/api/matrix/rooms/{uuid}/',
19796
19854
  ...options
19797
19855
  });
19856
+ /**
19857
+ * List the bot commands the caller can use in the room
19858
+ *
19859
+ * Every bot command, and whether the caller can use it in this room now; where not, a short reason. The bot refuses with the same checks. `!ticket send` and `!ticket cancel` are available only while the caller has an open ticket draft in the room.
19860
+ */
19861
+ export const matrixRoomsCommandsList = (options) => (options.client ?? client).get({
19862
+ security: [
19863
+ { name: 'Authorization', type: 'apiKey' },
19864
+ { scheme: 'bearer', type: 'http' }
19865
+ ],
19866
+ url: '/api/matrix/rooms/{uuid}/commands/',
19867
+ ...options
19868
+ });
19798
19869
  /**
19799
19870
  * Disable an active chat room
19800
19871
  */
@@ -19943,6 +20014,42 @@ export const matrixSession = (options) => (options?.client ?? client).post({
19943
20014
  url: '/api/matrix/session/',
19944
20015
  ...options
19945
20016
  });
20017
+ export const matrixTicketDraftsRetrieve = (options) => (options.client ?? client).get({
20018
+ security: [
20019
+ { name: 'Authorization', type: 'apiKey' },
20020
+ { scheme: 'bearer', type: 'http' }
20021
+ ],
20022
+ url: '/api/matrix/ticket-drafts/{uuid}/',
20023
+ ...options
20024
+ });
20025
+ /**
20026
+ * Cancel the draft
20027
+ */
20028
+ export const matrixTicketDraftsCancel = (options) => (options.client ?? client).post({
20029
+ security: [
20030
+ { name: 'Authorization', type: 'apiKey' },
20031
+ { scheme: 'bearer', type: 'http' }
20032
+ ],
20033
+ url: '/api/matrix/ticket-drafts/{uuid}/cancel/',
20034
+ ...options
20035
+ });
20036
+ /**
20037
+ * Create the draft's support ticket
20038
+ *
20039
+ * Create the pending draft's ticket as its requester, through the support API, and post its key in the room's thread. The draft is then sent: a second call, or one for a canceled or expired draft, gets 404.
20040
+ */
20041
+ export const matrixTicketDraftsCreateIssue = (options) => (options.client ?? client).post({
20042
+ security: [
20043
+ { name: 'Authorization', type: 'apiKey' },
20044
+ { scheme: 'bearer', type: 'http' }
20045
+ ],
20046
+ url: '/api/matrix/ticket-drafts/{uuid}/create_issue/',
20047
+ ...options,
20048
+ headers: {
20049
+ 'Content-Type': 'application/json',
20050
+ ...options.headers
20051
+ }
20052
+ });
19946
20053
  /**
19947
20054
  * Get media file
19948
20055
  */
@@ -27543,7 +27650,7 @@ export const proposalProposalsAttachDocument = (options) => (options.client ?? c
27543
27650
  }
27544
27651
  });
27545
27652
  /**
27546
- * List what the allocation decision awards the proposal. Staff, support, the call's managers and organisers, and the managers of the offerings involved see it at any time; the applicant team once the decision is released.
27653
+ * List what the allocation decision awards the proposal. Staff, support, the call's managers and organizers, and the managers of the offerings involved see it at any time; the applicant team once the decision is released.
27547
27654
  */
27548
27655
  export const proposalProposalsAwardedResourcesList = (options) => (options.client ?? client).get({
27549
27656
  security: [
@@ -28786,6 +28893,17 @@ export const proposalProtectedCallsSendInvitations = (options) => (options.clien
28786
28893
  url: '/api/proposal-protected-calls/{uuid}/send-invitations/',
28787
28894
  ...options
28788
28895
  });
28896
+ /**
28897
+ * Proposal, review and workflow step counts per call and round.
28898
+ */
28899
+ export const proposalProtectedCallsStatsRetrieve = (options) => (options.client ?? client).get({
28900
+ security: [
28901
+ { name: 'Authorization', type: 'apiKey' },
28902
+ { scheme: 'bearer', type: 'http' }
28903
+ ],
28904
+ url: '/api/proposal-protected-calls/{uuid}/stats/',
28905
+ ...options
28906
+ });
28789
28907
  /**
28790
28908
  * List all reviewer suggestions for this call with affinity scores.
28791
28909
  */
@@ -28918,7 +29036,7 @@ export const proposalProtectedCallsDashboardStatsRetrieve = (options) => (option
28918
29036
  /**
28919
29037
  * Import call configuration
28920
29038
  *
28921
- * Create a draft call under the given call managing organisation from a document produced by export_call. References that cannot be resolved by name on this portal are skipped and reported in warnings. The import is atomic.
29039
+ * Create a draft call under the given call managing organization from a document produced by export_call. References that cannot be resolved by name on this portal are skipped and reported in warnings. The import is atomic.
28922
29040
  */
28923
29041
  export const proposalProtectedCallsImportCall = (options) => (options.client ?? client).post({
28924
29042
  security: [
@@ -32640,7 +32758,7 @@ export const staffPasskeysRevoke = (options) => (options.client ?? client).post(
32640
32758
  * - **active**: Tasks currently being executed by workers
32641
32759
  * - **scheduled**: Tasks scheduled for future execution (with ETA)
32642
32760
  * - **reserved**: Tasks received by workers but not yet started
32643
- * - **revoked**: Task IDs that have been cancelled/revoked
32761
+ * - **revoked**: Task IDs that have been canceled/revoked
32644
32762
  * - **query_task**: Results of task queries (if any)
32645
32763
  * - **stats**: Detailed worker statistics including uptime, pool info, and broker connection
32646
32764
  *
@@ -34623,7 +34741,7 @@ export const userInvitationsUpdate = (options) => (options.client ?? client).put
34623
34741
  /**
34624
34742
  * Accept an invitation
34625
34743
  *
34626
- * Accepts an invitation for the currently authenticated user. This grants the user the specified role in the invitation's scope.
34744
+ * Accepts an invitation for the currently authenticated user. This grants the user the specified role in the invitation's scope. Staff may pass `user` to accept it for that user instead, for example from a service account that registers users elsewhere; the user's email must match the invitation.
34627
34745
  */
34628
34746
  export const userInvitationsAccept = (options) => (options.client ?? client).post({
34629
34747
  security: [
@@ -34631,7 +34749,11 @@ export const userInvitationsAccept = (options) => (options.client ?? client).pos
34631
34749
  { scheme: 'bearer', type: 'http' }
34632
34750
  ],
34633
34751
  url: '/api/user-invitations/{uuid}/accept/',
34634
- ...options
34752
+ ...options,
34753
+ headers: {
34754
+ 'Content-Type': 'application/json',
34755
+ ...options.headers
34756
+ }
34635
34757
  });
34636
34758
  /**
34637
34759
  * Cancel an invitation