@faiber/faiber-profile 0.21.1 → 0.23.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.
@@ -1,38 +1,5 @@
1
1
  import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
2
2
  export class ProfileOperations extends ServiceApi {
3
- /**
4
- * Calls `GET /api/v1/education` for active education lookup options.
5
- * @returns The complete Axios response.
6
- * @throws AxiosError; requires profile:read.
7
- */
8
- educationIndexGet(options) {
9
- return this.client.request({ ...options, method: "GET", url: "/api/v1/education" });
10
- }
11
- /**
12
- * Calls `POST /api/v1/education` to create an education lookup option.
13
- * @returns The complete Axios response.
14
- * @throws AxiosError; requires profile:update.
15
- */
16
- educationStorePost(data, options) {
17
- return this.client.request({ ...options, method: "POST", url: "/api/v1/education", data });
18
- }
19
- /**
20
- * Calls `GET /api/v1/education/dependencies` for attendance and referral options.
21
- * @returns The complete Axios response.
22
- * @throws AxiosError; requires profile:read.
23
- */
24
- educationDependenciesGet(options) {
25
- return this.client.request({ ...options, method: "GET", url: "/api/v1/education/dependencies" });
26
- }
27
- /**
28
- * Calls `PUT /api/v1/profile/update/education-information/{uuid}` using an IDP user UUID.
29
- * Omitted fields are unchanged; null clears a field. Level is nonempty free text, max 64 characters.
30
- * @returns The complete Axios response.
31
- * @throws AxiosError; requires profile:update.
32
- */
33
- educationUpdatePut(uuid, data, options) {
34
- return this.client.request({ ...options, method: "PUT", url: `/api/v1/profile/update/education-information/${encodeURIComponent(uuid)}`, data });
35
- }
36
3
  /**
37
4
  * Performs the openapi json operation for the router capability.
38
5
  * Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
@@ -74,6 +41,28 @@ export class ProfileOperations extends ServiceApi {
74
41
  sessionGetSelfGet(options) {
75
42
  return this.client.request({ ...options, method: "GET", url: `/api/v1/auth/self` });
76
43
  }
44
+ /**
45
+ * Performs the update self name operation for the session capability.
46
+ * Calls `PATCH /api/v1/auth/self` through the shared IDP-aware Faiber client.
47
+ * @param data Typed JSON request body.
48
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
49
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
50
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
51
+ */
52
+ sessionUpdateSelfNamePatch(data, options) {
53
+ return this.client.request({ ...options, method: "PATCH", url: `/api/v1/auth/self`, data: data });
54
+ }
55
+ /**
56
+ * Performs the complete onboarding operation for the session capability.
57
+ * Calls `PUT /api/v1/auth/self/onboarding` through the shared IDP-aware Faiber client.
58
+ * @param data Typed JSON request body.
59
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
60
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
61
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
62
+ */
63
+ sessionCompleteOnboardingPut(data, options) {
64
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/auth/self/onboarding`, data: data });
65
+ }
77
66
  /**
78
67
  * Performs the index operation for the campaign capability.
79
68
  * Calls `GET /api/v1/campaign` through the shared IDP-aware Faiber client.
@@ -363,6 +352,316 @@ export class ProfileOperations extends ServiceApi {
363
352
  optionDependencyGet(options) {
364
353
  return this.client.request({ ...options, method: "GET", url: `/api/v1/dependency` });
365
354
  }
355
+ /**
356
+ * Performs the index operation for the education capability.
357
+ * Calls `GET /api/v1/education` through the shared IDP-aware Faiber client.
358
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
359
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
360
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:read.
361
+ */
362
+ educationIndexGet(options) {
363
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/education` });
364
+ }
365
+ /**
366
+ * Performs the store operation for the education capability.
367
+ * Calls `POST /api/v1/education` through the shared IDP-aware Faiber client.
368
+ * @param data Typed JSON request body.
369
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
370
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
371
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:update.
372
+ */
373
+ educationStorePost(data, options) {
374
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/education`, data: data });
375
+ }
376
+ /**
377
+ * Performs the dependencies operation for the education capability.
378
+ * Calls `GET /api/v1/education/dependencies` through the shared IDP-aware Faiber client.
379
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
380
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
381
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:read.
382
+ */
383
+ educationDependenciesGet(options) {
384
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/education/dependencies` });
385
+ }
386
+ /**
387
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
388
+ * Calls `POST /api/v1/fitness/admin/catalog` through the shared IDP-aware Faiber client.
389
+ * @param data Typed JSON request body.
390
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
391
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
392
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: fitness:admin plus administrator role.
393
+ */
394
+ fitnessImportCatalogPost(data, options) {
395
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/admin/catalog`, data: data });
396
+ }
397
+ /**
398
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
399
+ * Calls `POST /api/v1/fitness/admin/provision` through the shared IDP-aware Faiber client.
400
+ * @param data Typed JSON request body.
401
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
402
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
403
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: fitness:admin plus administrator role.
404
+ */
405
+ fitnessProvisionPost(data, options) {
406
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/admin/provision`, data: data });
407
+ }
408
+ /**
409
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
410
+ * Calls `GET /api/v1/fitness/catalog` through the shared IDP-aware Faiber client.
411
+ * @param params Typed query parameters; omitted members retain backend defaults.
412
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
413
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
414
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
415
+ */
416
+ fitnessListCatalogGet(params, options) {
417
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/catalog`, params });
418
+ }
419
+ /**
420
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
421
+ * Calls `GET /api/v1/fitness/coaches` through the shared IDP-aware Faiber client.
422
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
423
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
424
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
425
+ */
426
+ fitnessCoachesGet(options) {
427
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/coaches` });
428
+ }
429
+ /**
430
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
431
+ * Calls `GET /api/v1/fitness/context` through the shared IDP-aware Faiber client.
432
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
433
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
434
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
435
+ */
436
+ fitnessContextGet(options) {
437
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/context` });
438
+ }
439
+ /**
440
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
441
+ * Calls `GET /api/v1/fitness/intake` through the shared IDP-aware Faiber client.
442
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
443
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
444
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
445
+ */
446
+ fitnessIntakeGet(options) {
447
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/intake` });
448
+ }
449
+ /**
450
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
451
+ * Calls `PUT /api/v1/fitness/intake` through the shared IDP-aware Faiber client.
452
+ * @param data Typed JSON request body.
453
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
454
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
455
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
456
+ */
457
+ fitnessSaveIntakePut(data, options) {
458
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/fitness/intake`, data: data });
459
+ }
460
+ /**
461
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
462
+ * Calls `GET /api/v1/fitness/notifications` through the shared IDP-aware Faiber client.
463
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
464
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
465
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
466
+ */
467
+ fitnessNotificationsGet(options) {
468
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/notifications` });
469
+ }
470
+ /**
471
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
472
+ * Calls `POST /api/v1/fitness/notifications/{id}/read` through the shared IDP-aware Faiber client.
473
+ * @param id Backend path identifier `id`.
474
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
475
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
476
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
477
+ */
478
+ fitnessReadNotificationPost(id, options) {
479
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/notifications/${encodeURIComponent(id)}/read` });
480
+ }
481
+ /**
482
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
483
+ * Calls `GET /api/v1/fitness/orders` through the shared IDP-aware Faiber client.
484
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
485
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
486
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
487
+ */
488
+ fitnessOrdersGet(options) {
489
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/orders` });
490
+ }
491
+ /**
492
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
493
+ * Calls `POST /api/v1/fitness/orders` through the shared IDP-aware Faiber client.
494
+ * @param data Typed JSON request body.
495
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
496
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
497
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
498
+ */
499
+ fitnessPurchasePost(data, options) {
500
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/orders`, data: data });
501
+ }
502
+ /**
503
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
504
+ * Calls `GET /api/v1/fitness/orders/{id}` through the shared IDP-aware Faiber client.
505
+ * @param id Backend path identifier `id`.
506
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
507
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
508
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
509
+ */
510
+ fitnessShowGetApiV1FitnessOrdersId(id, options) {
511
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/orders/${encodeURIComponent(id)}` });
512
+ }
513
+ /**
514
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
515
+ * Calls `POST /api/v1/fitness/orders/{id}/action` through the shared IDP-aware Faiber client.
516
+ * @param id Backend path identifier `id`.
517
+ * @param data Typed JSON request body.
518
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
519
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
520
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
521
+ */
522
+ fitnessActionPost(id, data, options) {
523
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/orders/${encodeURIComponent(id)}/action`, data: data });
524
+ }
525
+ /**
526
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
527
+ * Calls `POST /api/v1/fitness/orders/{id}/plan` through the shared IDP-aware Faiber client.
528
+ * @param id Backend path identifier `id`.
529
+ * @param data Typed JSON request body.
530
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
531
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
532
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
533
+ */
534
+ fitnessAssignPost(id, data, options) {
535
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/orders/${encodeURIComponent(id)}/plan`, data: data });
536
+ }
537
+ /**
538
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
539
+ * Calls `GET /api/v1/fitness/products` through the shared IDP-aware Faiber client.
540
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
541
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
542
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
543
+ */
544
+ fitnessProductsGet(options) {
545
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/products` });
546
+ }
547
+ /**
548
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
549
+ * Calls `POST /api/v1/fitness/proposals` through the shared IDP-aware Faiber client.
550
+ * @param data Typed JSON request body.
551
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
552
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
553
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
554
+ */
555
+ fitnessProposePost(data, options) {
556
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/proposals`, data: data });
557
+ }
558
+ /**
559
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
560
+ * Calls `GET /api/v1/fitness/revisions/{id}` through the shared IDP-aware Faiber client.
561
+ * @param id Backend path identifier `id`.
562
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
563
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
564
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
565
+ */
566
+ fitnessRevisionGet(id, options) {
567
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/revisions/${encodeURIComponent(id)}` });
568
+ }
569
+ /**
570
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
571
+ * Calls `POST /api/v1/fitness/revisions/{id}/review` through the shared IDP-aware Faiber client.
572
+ * @param id Backend path identifier `id`.
573
+ * @param data Typed JSON request body.
574
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
575
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
576
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
577
+ */
578
+ fitnessReviewPost(id, data, options) {
579
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/revisions/${encodeURIComponent(id)}/review`, data: data });
580
+ }
581
+ /**
582
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
583
+ * Calls `GET /api/v1/fitness/self` through the shared IDP-aware Faiber client.
584
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
585
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
586
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
587
+ */
588
+ fitnessMeGet(options) {
589
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/self` });
590
+ }
591
+ /**
592
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
593
+ * Calls `GET /api/v1/fitness/settings` through the shared IDP-aware Faiber client.
594
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
595
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
596
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
597
+ */
598
+ fitnessSettingsGet(options) {
599
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/settings` });
600
+ }
601
+ /**
602
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
603
+ * Calls `PUT /api/v1/fitness/settings` through the shared IDP-aware Faiber client.
604
+ * @param data Typed JSON request body.
605
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
606
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
607
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
608
+ */
609
+ fitnessSaveSettingsPut(data, options) {
610
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/fitness/settings`, data: data });
611
+ }
612
+ /**
613
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
614
+ * Calls `POST /api/v1/fitness/tariffs` through the shared IDP-aware Faiber client.
615
+ * @param data Typed JSON request body.
616
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
617
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
618
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
619
+ */
620
+ fitnessSaveTariffPost(data, options) {
621
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/tariffs`, data: data });
622
+ }
623
+ /**
624
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
625
+ * Calls `GET /api/v1/fitness/team` through the shared IDP-aware Faiber client.
626
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
627
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
628
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
629
+ */
630
+ fitnessTeamGet(options) {
631
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/team` });
632
+ }
633
+ /**
634
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
635
+ * Calls `PUT /api/v1/fitness/team` through the shared IDP-aware Faiber client.
636
+ * @param data Typed JSON request body.
637
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
638
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
639
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
640
+ */
641
+ fitnessSaveCoachPut(data, options) {
642
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/fitness/team`, data: data });
643
+ }
644
+ /**
645
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
646
+ * Calls `POST /api/v1/fitness/trial/redeem` through the shared IDP-aware Faiber client.
647
+ * @param data Typed JSON request body.
648
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
649
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
650
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
651
+ */
652
+ fitnessRedeemPost(data, options) {
653
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/fitness/trial/redeem`, data: data });
654
+ }
655
+ /**
656
+ * Use the paid coaching workflow with server-owned prices, membership and revision checks. Reuse idempotency keys for purchases; stale versions return 409, unauthorized relationships return 403.
657
+ * Calls `GET /api/v1/fitness/voice-settings` through the shared IDP-aware Faiber client.
658
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
659
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
660
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated gym membership, manager/coach relationship or owned order as required by the operation.
661
+ */
662
+ fitnessVoiceSettingsGet(options) {
663
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/fitness/voice-settings` });
664
+ }
366
665
  /**
367
666
  * Performs the identity operation for the option capability.
368
667
  * Calls `GET /api/v1/identity` through the shared IDP-aware Faiber client.
@@ -393,6 +692,73 @@ export class ProfileOperations extends ServiceApi {
393
692
  integrationFlowIntegrationShowGet(options) {
394
693
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
395
694
  }
695
+ /**
696
+ * Performs the reserve operation for the fitness capability.
697
+ * Calls `POST /api/v1/internal/fitness-chat/reserve` through the shared IDP-aware Faiber client.
698
+ * @param data Typed JSON request body.
699
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
700
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
701
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
702
+ */
703
+ fitnessReservePost(data, options) {
704
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/fitness-chat/reserve`, data: data });
705
+ }
706
+ /**
707
+ * Performs the settle operation for the fitness capability.
708
+ * Calls `POST /api/v1/internal/fitness-chat/settle` through the shared IDP-aware Faiber client.
709
+ * @param data Typed JSON request body.
710
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
711
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
712
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
713
+ */
714
+ fitnessSettlePost(data, options) {
715
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/fitness-chat/settle`, data: data });
716
+ }
717
+ /**
718
+ * Performs the list operation for the fitness capability.
719
+ * Calls `GET /api/v1/internal/plans/gifts` through the shared IDP-aware Faiber client.
720
+ * @param params Typed query parameters; omitted members retain backend defaults.
721
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
722
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
723
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
724
+ */
725
+ fitnessListGet(params, options) {
726
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/internal/plans/gifts`, params });
727
+ }
728
+ /**
729
+ * Performs the create operation for the fitness capability.
730
+ * Calls `POST /api/v1/internal/plans/gifts` through the shared IDP-aware Faiber client.
731
+ * @param data Typed JSON request body.
732
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
733
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
734
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
735
+ */
736
+ fitnessCreatePost(data, options) {
737
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/gifts`, data: data });
738
+ }
739
+ /**
740
+ * Performs the show operation for the fitness capability.
741
+ * Calls `GET /api/v1/internal/plans/gifts/{id}` through the shared IDP-aware Faiber client.
742
+ * @param id Backend path identifier `id`.
743
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
744
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
745
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
746
+ */
747
+ fitnessShowGetApiV1InternalPlansGiftsId(id, options) {
748
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/internal/plans/gifts/${encodeURIComponent(id)}` });
749
+ }
750
+ /**
751
+ * Performs the update operation for the fitness capability.
752
+ * Calls `PUT /api/v1/internal/plans/gifts/{id}` through the shared IDP-aware Faiber client.
753
+ * @param id Backend path identifier `id`.
754
+ * @param data Typed JSON request body.
755
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
756
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
757
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: server-only product trial-gift or fitness-chat bearer credential; never browser administration.
758
+ */
759
+ fitnessUpdatePut(id, data, options) {
760
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/internal/plans/gifts/${encodeURIComponent(id)}`, data: data });
761
+ }
396
762
  /**
397
763
  * Performs the store operation for the log action capability.
398
764
  * Calls `POST /api/v1/log-action` through the shared IDP-aware Faiber client.
@@ -1150,6 +1516,28 @@ export class ProfileOperations extends ServiceApi {
1150
1516
  profileParentIndexGet(params, options) {
1151
1517
  return this.client.request({ ...options, method: "GET", url: `/api/v1/profile/parent`, params });
1152
1518
  }
1519
+ /**
1520
+ * Resolve 1–200 explicit user UUIDs into active directory identities. Returns results and has_more:false; never grants collaborator eligibility.
1521
+ * Calls `POST /api/v1/profile/people/resolve` through the shared IDP-aware Faiber client.
1522
+ * @param data Typed JSON request body.
1523
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1524
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
1525
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:lookup and authenticated directory access.
1526
+ */
1527
+ workspaceResolvePeople(data, options) {
1528
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/profile/people/resolve`, data: data });
1529
+ }
1530
+ /**
1531
+ * Performs the search operation for the profile search capability.
1532
+ * Calls `POST /api/v1/profile/people/search` through the shared IDP-aware Faiber client.
1533
+ * @param data Typed JSON request body.
1534
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1535
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
1536
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:lookup.
1537
+ */
1538
+ profileSearchSearchPostApiV1ProfilePeopleSearch(data, options) {
1539
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/profile/people/search`, data: data });
1540
+ }
1153
1541
  /**
1154
1542
  * Performs the province get operation for the profile capability.
1155
1543
  * Calls `POST /api/v1/profile/province/get` through the shared IDP-aware Faiber client.
@@ -1283,6 +1671,18 @@ export class ProfileOperations extends ServiceApi {
1283
1671
  profileAddMetaPut(uuid, data, options) {
1284
1672
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/profile/update/${encodeURIComponent(uuid)}/meta`, data: data });
1285
1673
  }
1674
+ /**
1675
+ * Performs the update operation for the education capability.
1676
+ * Calls `PUT /api/v1/profile/update/education-information/{uuid}` through the shared IDP-aware Faiber client.
1677
+ * @param uuid Backend path identifier `uuid`.
1678
+ * @param data Typed JSON request body.
1679
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1680
+ * @returns The complete Axios response, including the typed service envelope, status, and headers.
1681
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: profile:update.
1682
+ */
1683
+ educationUpdatePut(uuid, data, options) {
1684
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/profile/update/education-information/${encodeURIComponent(uuid)}`, data: data });
1685
+ }
1286
1686
  /**
1287
1687
  * Performs the update personal operation for the profile capability.
1288
1688
  * Calls `PATCH /api/v1/profile/update/personal-information/{uuid}` through the shared IDP-aware Faiber client.
@@ -1976,15 +2376,5 @@ export class ProfileOperations extends ServiceApi {
1976
2376
  routerHealthGetUp(options) {
1977
2377
  return this.client.request({ ...options, method: "GET", url: `/up` });
1978
2378
  }
1979
- /**
1980
- * Calls `POST /api/v1/profile/people/resolve` using the authenticated sandbox connection.
1981
- * Requires `profile:lookup` and current resource access. Supply If-Match for versioned writes.
1982
- * Proposal writes only create previews; apply commits the explicitly reviewed revision atomically.
1983
- * @returns The complete Axios response with the typed service envelope.
1984
- * @throws AxiosError on authentication, validation, access, conflict, or dependency failures.
1985
- */
1986
- workspaceResolvePeople(data, options) {
1987
- return this.client.request({ ...options, method: "POST", url: `/api/v1/profile/people/resolve`, data });
1988
- }
1989
2379
  }
1990
2380
  //# sourceMappingURL=operations.js.map