@brightoutcome/guidistry-client 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +179 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -328,6 +328,57 @@ export interface paths {
328
328
  patch?: never;
329
329
  trace?: never;
330
330
  };
331
+ "/v1/guides": {
332
+ parameters: {
333
+ query?: never;
334
+ header?: never;
335
+ path?: never;
336
+ cookie?: never;
337
+ };
338
+ /** BrightOutcome guides: staff-only guides for every customer, outside any template */
339
+ get: operations["list_brightoutcome_guides_v1_guides_get"];
340
+ put?: never;
341
+ post?: never;
342
+ delete?: never;
343
+ options?: never;
344
+ head?: never;
345
+ patch?: never;
346
+ trace?: never;
347
+ };
348
+ "/v1/guides/{slug}/facilitator": {
349
+ parameters: {
350
+ query?: never;
351
+ header?: never;
352
+ path?: never;
353
+ cookie?: never;
354
+ };
355
+ /** A BrightOutcome facilitator guide (staff at any customer) */
356
+ get: operations["get_brightoutcome_guide_v1_guides__slug__facilitator_get"];
357
+ put?: never;
358
+ post?: never;
359
+ delete?: never;
360
+ options?: never;
361
+ head?: never;
362
+ patch?: never;
363
+ trace?: never;
364
+ };
365
+ "/v1/guides/{slug}/facilitator/{doc_id}": {
366
+ parameters: {
367
+ query?: never;
368
+ header?: never;
369
+ path?: never;
370
+ cookie?: never;
371
+ };
372
+ /** One document of a BrightOutcome facilitator guide, with its body */
373
+ get: operations["get_brightoutcome_document_v1_guides__slug__facilitator__doc_id__get"];
374
+ put?: never;
375
+ post?: never;
376
+ delete?: never;
377
+ options?: never;
378
+ head?: never;
379
+ patch?: never;
380
+ trace?: never;
381
+ };
331
382
  "/v1/invitations": {
332
383
  parameters: {
333
384
  query?: never;
@@ -780,6 +831,29 @@ export interface components {
780
831
  */
781
832
  language: string;
782
833
  };
834
+ /**
835
+ * BrightOutcomeGuideOut
836
+ * @description A guide BrightOutcome provides to every customer, outside any template (D-025).
837
+ */
838
+ BrightOutcomeGuideOut: {
839
+ /** Edition */
840
+ edition: string | null;
841
+ /** Kind */
842
+ kind: string;
843
+ /** Language */
844
+ language: string;
845
+ /**
846
+ * Published At
847
+ * Format: date-time
848
+ */
849
+ published_at: string;
850
+ /** Revision */
851
+ revision: number;
852
+ /** Slug */
853
+ slug: string;
854
+ /** Title */
855
+ title: string;
856
+ };
783
857
  /** CalloutBlock */
784
858
  CalloutBlock: {
785
859
  /** Html */
@@ -2853,6 +2927,111 @@ export interface operations {
2853
2927
  };
2854
2928
  };
2855
2929
  };
2930
+ list_brightoutcome_guides_v1_guides_get: {
2931
+ parameters: {
2932
+ query?: never;
2933
+ header?: {
2934
+ /** @description Membership the caller is acting through (from GET /v1/me) */
2935
+ "X-Guidistry-Context"?: string | null;
2936
+ };
2937
+ path?: never;
2938
+ cookie?: never;
2939
+ };
2940
+ requestBody?: never;
2941
+ responses: {
2942
+ /** @description Successful Response */
2943
+ 200: {
2944
+ headers: {
2945
+ [name: string]: unknown;
2946
+ };
2947
+ content: {
2948
+ "application/json": components["schemas"]["BrightOutcomeGuideOut"][];
2949
+ };
2950
+ };
2951
+ /** @description Validation Error */
2952
+ 422: {
2953
+ headers: {
2954
+ [name: string]: unknown;
2955
+ };
2956
+ content: {
2957
+ "application/json": components["schemas"]["HTTPValidationError"];
2958
+ };
2959
+ };
2960
+ };
2961
+ };
2962
+ get_brightoutcome_guide_v1_guides__slug__facilitator_get: {
2963
+ parameters: {
2964
+ query?: {
2965
+ language?: string | null;
2966
+ };
2967
+ header?: {
2968
+ /** @description Membership the caller is acting through (from GET /v1/me) */
2969
+ "X-Guidistry-Context"?: string | null;
2970
+ };
2971
+ path: {
2972
+ slug: string;
2973
+ };
2974
+ cookie?: never;
2975
+ };
2976
+ requestBody?: never;
2977
+ responses: {
2978
+ /** @description Successful Response */
2979
+ 200: {
2980
+ headers: {
2981
+ [name: string]: unknown;
2982
+ };
2983
+ content: {
2984
+ "application/json": components["schemas"]["GuideOut"];
2985
+ };
2986
+ };
2987
+ /** @description Validation Error */
2988
+ 422: {
2989
+ headers: {
2990
+ [name: string]: unknown;
2991
+ };
2992
+ content: {
2993
+ "application/json": components["schemas"]["HTTPValidationError"];
2994
+ };
2995
+ };
2996
+ };
2997
+ };
2998
+ get_brightoutcome_document_v1_guides__slug__facilitator__doc_id__get: {
2999
+ parameters: {
3000
+ query?: {
3001
+ language?: string | null;
3002
+ };
3003
+ header?: {
3004
+ /** @description Membership the caller is acting through (from GET /v1/me) */
3005
+ "X-Guidistry-Context"?: string | null;
3006
+ };
3007
+ path: {
3008
+ slug: string;
3009
+ doc_id: string;
3010
+ };
3011
+ cookie?: never;
3012
+ };
3013
+ requestBody?: never;
3014
+ responses: {
3015
+ /** @description Successful Response */
3016
+ 200: {
3017
+ headers: {
3018
+ [name: string]: unknown;
3019
+ };
3020
+ content: {
3021
+ "application/json": components["schemas"]["GuideDocumentOut"];
3022
+ };
3023
+ };
3024
+ /** @description Validation Error */
3025
+ 422: {
3026
+ headers: {
3027
+ [name: string]: unknown;
3028
+ };
3029
+ content: {
3030
+ "application/json": components["schemas"]["HTTPValidationError"];
3031
+ };
3032
+ };
3033
+ };
3034
+ };
2856
3035
  list_invitations_v1_invitations_get: {
2857
3036
  parameters: {
2858
3037
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightoutcome/guidistry-client",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Typed client and sign-in helpers for the Guidistry API",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",