waldur-js-client 8.0.8-dev.38 → 8.0.8-dev.39

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
@@ -2193,6 +2193,206 @@ export const affiliatedOrganizationsReportCount = (options) => {
2193
2193
  ...options
2194
2194
  });
2195
2195
  };
2196
+ export const anonymousChatFeedbacksList = (options) => {
2197
+ return (options?.client ?? _heyApiClient).get({
2198
+ security: [
2199
+ {
2200
+ name: 'Authorization',
2201
+ type: 'apiKey'
2202
+ },
2203
+ {
2204
+ scheme: 'bearer',
2205
+ type: 'http'
2206
+ },
2207
+ {
2208
+ scheme: 'bearer',
2209
+ type: 'http'
2210
+ }
2211
+ ],
2212
+ url: '/api/anonymous-chat-feedbacks/',
2213
+ ...options
2214
+ });
2215
+ };
2216
+ export const anonymousChatFeedbacksRetrieve = (options) => {
2217
+ return (options.client ?? _heyApiClient).get({
2218
+ security: [
2219
+ {
2220
+ name: 'Authorization',
2221
+ type: 'apiKey'
2222
+ },
2223
+ {
2224
+ scheme: 'bearer',
2225
+ type: 'http'
2226
+ },
2227
+ {
2228
+ scheme: 'bearer',
2229
+ type: 'http'
2230
+ }
2231
+ ],
2232
+ url: '/api/anonymous-chat-feedbacks/{interaction_uuid}/',
2233
+ ...options
2234
+ });
2235
+ };
2236
+ export const anonymousChatInteractionsList = (options) => {
2237
+ return (options?.client ?? _heyApiClient).get({
2238
+ security: [
2239
+ {
2240
+ name: 'Authorization',
2241
+ type: 'apiKey'
2242
+ },
2243
+ {
2244
+ scheme: 'bearer',
2245
+ type: 'http'
2246
+ },
2247
+ {
2248
+ scheme: 'bearer',
2249
+ type: 'http'
2250
+ }
2251
+ ],
2252
+ url: '/api/anonymous-chat-interactions/',
2253
+ ...options
2254
+ });
2255
+ };
2256
+ export const anonymousChatInteractionsRetrieve = (options) => {
2257
+ return (options.client ?? _heyApiClient).get({
2258
+ security: [
2259
+ {
2260
+ name: 'Authorization',
2261
+ type: 'apiKey'
2262
+ },
2263
+ {
2264
+ scheme: 'bearer',
2265
+ type: 'http'
2266
+ },
2267
+ {
2268
+ scheme: 'bearer',
2269
+ type: 'http'
2270
+ }
2271
+ ],
2272
+ url: '/api/anonymous-chat-interactions/{uuid}/',
2273
+ ...options
2274
+ });
2275
+ };
2276
+ /**
2277
+ * Today's global tenant budget snapshot
2278
+ * Returns the site-wide token + request usage accumulated since 00:00 UTC today and the configured daily caps. Powers the budget gauges card on the staff analytics dashboard.
2279
+ */
2280
+ export const anonymousChatInteractionsBudgetRetrieve = (options) => {
2281
+ return (options?.client ?? _heyApiClient).get({
2282
+ security: [
2283
+ {
2284
+ name: 'Authorization',
2285
+ type: 'apiKey'
2286
+ },
2287
+ {
2288
+ scheme: 'bearer',
2289
+ type: 'http'
2290
+ },
2291
+ {
2292
+ scheme: 'bearer',
2293
+ type: 'http'
2294
+ }
2295
+ ],
2296
+ url: '/api/anonymous-chat-interactions/budget/',
2297
+ ...options
2298
+ });
2299
+ };
2300
+ /**
2301
+ * Full transcript for one anonymous session
2302
+ * Returns the ordered list of interactions belonging to the given ``session_id``. Use this to read a conversation as a transcript.
2303
+ */
2304
+ export const anonymousChatInteractionsBySessionList = (options) => {
2305
+ return (options.client ?? _heyApiClient).get({
2306
+ security: [
2307
+ {
2308
+ name: 'Authorization',
2309
+ type: 'apiKey'
2310
+ },
2311
+ {
2312
+ scheme: 'bearer',
2313
+ type: 'http'
2314
+ },
2315
+ {
2316
+ scheme: 'bearer',
2317
+ type: 'http'
2318
+ }
2319
+ ],
2320
+ url: '/api/anonymous-chat-interactions/by-session/{session_id}/',
2321
+ ...options
2322
+ });
2323
+ };
2324
+ /**
2325
+ * Aggregate user list (no slug)
2326
+ * Returns one row per user_slug with aggregate counters. Powers the staff Users page in the admin analytics.
2327
+ */
2328
+ export const anonymousChatInteractionsByUserAggregate = (options) => {
2329
+ return (options?.client ?? _heyApiClient).get({
2330
+ security: [
2331
+ {
2332
+ name: 'Authorization',
2333
+ type: 'apiKey'
2334
+ },
2335
+ {
2336
+ scheme: 'bearer',
2337
+ type: 'http'
2338
+ },
2339
+ {
2340
+ scheme: 'bearer',
2341
+ type: 'http'
2342
+ }
2343
+ ],
2344
+ url: '/api/anonymous-chat-interactions/by-user/',
2345
+ ...options
2346
+ });
2347
+ };
2348
+ /**
2349
+ * All sessions for one pseudonymous user
2350
+ * Returns interactions sharing a ``user_slug`` (Scrypt of originating IP) — across however many sessions that anon user opened, ordered chronologically.
2351
+ */
2352
+ export const anonymousChatInteractionsByUserList = (options) => {
2353
+ return (options.client ?? _heyApiClient).get({
2354
+ security: [
2355
+ {
2356
+ name: 'Authorization',
2357
+ type: 'apiKey'
2358
+ },
2359
+ {
2360
+ scheme: 'bearer',
2361
+ type: 'http'
2362
+ },
2363
+ {
2364
+ scheme: 'bearer',
2365
+ type: 'http'
2366
+ }
2367
+ ],
2368
+ url: '/api/anonymous-chat-interactions/by-user/{user_slug}/',
2369
+ ...options
2370
+ });
2371
+ };
2372
+ /**
2373
+ * Aggregate KPI roll-up
2374
+ * 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.
2375
+ */
2376
+ export const anonymousChatInteractionsKpiRetrieve = (options) => {
2377
+ return (options?.client ?? _heyApiClient).get({
2378
+ security: [
2379
+ {
2380
+ name: 'Authorization',
2381
+ type: 'apiKey'
2382
+ },
2383
+ {
2384
+ scheme: 'bearer',
2385
+ type: 'http'
2386
+ },
2387
+ {
2388
+ scheme: 'bearer',
2389
+ type: 'http'
2390
+ }
2391
+ ],
2392
+ url: '/api/anonymous-chat-interactions/kpi/',
2393
+ ...options
2394
+ });
2395
+ };
2196
2396
  export const assignmentBatchesList = (options) => {
2197
2397
  return (options?.client ?? _heyApiClient).get({
2198
2398
  security: [
@@ -16488,6 +16688,81 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
16488
16688
  }
16489
16689
  });
16490
16690
  };
16691
+ export const marketplaceChatClick = (options) => {
16692
+ return (options.client ?? _heyApiClient).post({
16693
+ security: [
16694
+ {
16695
+ name: 'Authorization',
16696
+ type: 'apiKey'
16697
+ },
16698
+ {
16699
+ scheme: 'bearer',
16700
+ type: 'http'
16701
+ },
16702
+ {
16703
+ scheme: 'bearer',
16704
+ type: 'http'
16705
+ }
16706
+ ],
16707
+ url: '/api/marketplace-chat/click/',
16708
+ ...options,
16709
+ headers: {
16710
+ 'Content-Type': 'application/json',
16711
+ ...options.headers
16712
+ }
16713
+ });
16714
+ };
16715
+ export const marketplaceChatFeedback = (options) => {
16716
+ return (options.client ?? _heyApiClient).post({
16717
+ security: [
16718
+ {
16719
+ name: 'Authorization',
16720
+ type: 'apiKey'
16721
+ },
16722
+ {
16723
+ scheme: 'bearer',
16724
+ type: 'http'
16725
+ },
16726
+ {
16727
+ scheme: 'bearer',
16728
+ type: 'http'
16729
+ }
16730
+ ],
16731
+ url: '/api/marketplace-chat/feedback/',
16732
+ ...options,
16733
+ headers: {
16734
+ 'Content-Type': 'application/json',
16735
+ ...options.headers
16736
+ }
16737
+ });
16738
+ };
16739
+ /**
16740
+ * Anonymous chat streaming endpoint. Returns NDJSON with one assistant content block per line. Final `m` frame carries input/output token counts.
16741
+ */
16742
+ export const marketplaceChatStream = (options) => {
16743
+ return (options.client ?? _heyApiClient).post({
16744
+ security: [
16745
+ {
16746
+ name: 'Authorization',
16747
+ type: 'apiKey'
16748
+ },
16749
+ {
16750
+ scheme: 'bearer',
16751
+ type: 'http'
16752
+ },
16753
+ {
16754
+ scheme: 'bearer',
16755
+ type: 'http'
16756
+ }
16757
+ ],
16758
+ url: '/api/marketplace-chat/stream/',
16759
+ ...options,
16760
+ headers: {
16761
+ 'Content-Type': 'application/json',
16762
+ ...options.headers
16763
+ }
16764
+ });
16765
+ };
16491
16766
  /**
16492
16767
  * List monthly component usage summaries globally
16493
16768
  * Returns paginated monthly component usage across all offerings and service providers. Results are automatically filtered by the user's permissions. Defaults to the current month if no time filters ('billing_period', 'start', 'end') are provided.