@examplary/sdk 2.4.0 → 2.5.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.
package/dist/index.d.mts CHANGED
@@ -1031,6 +1031,46 @@ interface paths {
1031
1031
  patch?: never;
1032
1032
  trace?: never;
1033
1033
  };
1034
+ "/audit-logs": {
1035
+ parameters: {
1036
+ query?: never;
1037
+ header?: never;
1038
+ path?: never;
1039
+ cookie?: never;
1040
+ };
1041
+ /**
1042
+ * List audit logs
1043
+ * @description List the workspace's audit logs, newest first, with optional date range, actor and object filters. Paginated.
1044
+ */
1045
+ get: operations["audit-logs.list"];
1046
+ put?: never;
1047
+ post?: never;
1048
+ delete?: never;
1049
+ options?: never;
1050
+ head?: never;
1051
+ patch?: never;
1052
+ trace?: never;
1053
+ };
1054
+ "/audit-logs/export": {
1055
+ parameters: {
1056
+ query?: never;
1057
+ header?: never;
1058
+ path?: never;
1059
+ cookie?: never;
1060
+ };
1061
+ /**
1062
+ * Export audit logs
1063
+ * @description Export audit logs for a date range (optionally filtered by actor/object) as ND-JSON. Returns a temporary download URL.
1064
+ */
1065
+ get: operations["audit-logs.export"];
1066
+ put?: never;
1067
+ post?: never;
1068
+ delete?: never;
1069
+ options?: never;
1070
+ head?: never;
1071
+ patch?: never;
1072
+ trace?: never;
1073
+ };
1034
1074
  "/api-keys": {
1035
1075
  parameters: {
1036
1076
  query?: never;
@@ -1947,6 +1987,54 @@ interface paths {
1947
1987
  patch: operations["patchRubrics:id"];
1948
1988
  trace?: never;
1949
1989
  };
1990
+ "/prompts": {
1991
+ parameters: {
1992
+ query?: never;
1993
+ header?: never;
1994
+ path?: never;
1995
+ cookie?: never;
1996
+ };
1997
+ /**
1998
+ * Get prompts
1999
+ * @description Get a list of reusable prompts, merging the workspace's saved prompts with the defaults provided by Examplary. Optionally filter by type and language.
2000
+ */
2001
+ get: operations["prompts.list"];
2002
+ put?: never;
2003
+ /**
2004
+ * Save prompt
2005
+ * @description Save a reusable prompt in the current workspace.
2006
+ */
2007
+ post: operations["prompts.create"];
2008
+ delete?: never;
2009
+ options?: never;
2010
+ head?: never;
2011
+ patch?: never;
2012
+ trace?: never;
2013
+ };
2014
+ "/prompts/{id}": {
2015
+ parameters: {
2016
+ query?: never;
2017
+ header?: never;
2018
+ path?: never;
2019
+ cookie?: never;
2020
+ };
2021
+ get?: never;
2022
+ put?: never;
2023
+ post?: never;
2024
+ /**
2025
+ * Delete prompt
2026
+ * @description Delete a prompt from the current workspace.
2027
+ */
2028
+ delete: operations["prompts.delete"];
2029
+ options?: never;
2030
+ head?: never;
2031
+ /**
2032
+ * Update prompt
2033
+ * @description Update an existing prompt in the current workspace.
2034
+ */
2035
+ patch: operations["prompts.update"];
2036
+ trace?: never;
2037
+ };
1950
2038
  "/jobs/{id}": {
1951
2039
  parameters: {
1952
2040
  query?: never;
@@ -3660,11 +3748,9 @@ interface operations {
3660
3748
  content: {
3661
3749
  "application/json": {
3662
3750
  name?: string;
3663
- /** Format: uri */
3664
3751
  logoImageUrl?: string;
3665
3752
  menuColor?: string;
3666
3753
  accentColor?: string;
3667
- sharingBlockPublic?: boolean;
3668
3754
  settings?: {
3669
3755
  /** @description Whether users can only see other users in the same groups as them. */
3670
3756
  restrictGroupVisibility?: boolean;
@@ -3730,6 +3816,42 @@ interface operations {
3730
3816
  };
3731
3817
  responses: never;
3732
3818
  };
3819
+ "audit-logs.list": {
3820
+ parameters: {
3821
+ query?: {
3822
+ actor?: string;
3823
+ object?: string;
3824
+ /** @description Start date (YYYY-MM-DD), inclusive */
3825
+ from?: string;
3826
+ /** @description End date (YYYY-MM-DD), inclusive */
3827
+ to?: string;
3828
+ /** @description Base64-encoded pagination cursor */
3829
+ exclusiveStartKey?: string;
3830
+ };
3831
+ header?: never;
3832
+ path?: never;
3833
+ cookie?: never;
3834
+ };
3835
+ requestBody?: never;
3836
+ responses: never;
3837
+ };
3838
+ "audit-logs.export": {
3839
+ parameters: {
3840
+ query: {
3841
+ /** @description Start date (YYYY-MM-DD), inclusive */
3842
+ from: string;
3843
+ /** @description End date (YYYY-MM-DD), inclusive */
3844
+ to: string;
3845
+ actor?: string;
3846
+ object?: string;
3847
+ };
3848
+ header?: never;
3849
+ path?: never;
3850
+ cookie?: never;
3851
+ };
3852
+ requestBody?: never;
3853
+ responses: never;
3854
+ };
3733
3855
  "apiKeys.get": {
3734
3856
  parameters: {
3735
3857
  query?: never;
@@ -5642,6 +5764,71 @@ interface operations {
5642
5764
  };
5643
5765
  responses: never;
5644
5766
  };
5767
+ "prompts.list": {
5768
+ parameters: {
5769
+ query?: {
5770
+ /** @description Only return prompts of this type */
5771
+ type?: string;
5772
+ /** @description Language for the default prompts, falls back to the user's preference or 'en' */
5773
+ language?: string;
5774
+ };
5775
+ header?: never;
5776
+ path?: never;
5777
+ cookie?: never;
5778
+ };
5779
+ requestBody?: never;
5780
+ responses: never;
5781
+ };
5782
+ "prompts.create": {
5783
+ parameters: {
5784
+ query?: never;
5785
+ header?: never;
5786
+ path?: never;
5787
+ cookie?: never;
5788
+ };
5789
+ requestBody?: {
5790
+ content: {
5791
+ "application/json": {
5792
+ name: string;
5793
+ promptType: string;
5794
+ content: string;
5795
+ };
5796
+ };
5797
+ };
5798
+ responses: never;
5799
+ };
5800
+ "prompts.delete": {
5801
+ parameters: {
5802
+ query?: never;
5803
+ header?: never;
5804
+ path: {
5805
+ id: string;
5806
+ };
5807
+ cookie?: never;
5808
+ };
5809
+ requestBody?: never;
5810
+ responses: never;
5811
+ };
5812
+ "prompts.update": {
5813
+ parameters: {
5814
+ query?: never;
5815
+ header?: never;
5816
+ path: {
5817
+ id: string;
5818
+ };
5819
+ cookie?: never;
5820
+ };
5821
+ requestBody?: {
5822
+ content: {
5823
+ "application/json": {
5824
+ name?: string;
5825
+ promptType?: string;
5826
+ content?: string;
5827
+ };
5828
+ };
5829
+ };
5830
+ responses: never;
5831
+ };
5645
5832
  "jobs.get": {
5646
5833
  parameters: {
5647
5834
  query?: never;
@@ -5958,6 +6145,12 @@ interface _PathOverrides {
5958
6145
  "deleteRubrics:id": {
5959
6146
  id: string;
5960
6147
  };
6148
+ "prompts.update": {
6149
+ id: string;
6150
+ };
6151
+ "prompts.delete": {
6152
+ id: string;
6153
+ };
5961
6154
  "jobs.get": {
5962
6155
  id: string;
5963
6156
  };
@@ -6614,6 +6807,26 @@ declare class Orgs {
6614
6807
  */
6615
6808
  create(args?: Args<"orgs.create">, options?: ExamplaryRequestOptions): Promise<Response<"orgs.create">>;
6616
6809
  }
6810
+ declare class AuditLogs {
6811
+ private readonly ctx;
6812
+ constructor(ctx: ClientContext);
6813
+ /**
6814
+ * List audit logs
6815
+ *
6816
+ * List the workspace's audit logs, newest first, with optional date range, actor and object filters. Paginated.
6817
+ *
6818
+ * API endpoint: `GET /audit-logs`
6819
+ */
6820
+ list(args?: Args<"audit-logs.list">, options?: ExamplaryRequestOptions): Promise<Response<"audit-logs.list">>;
6821
+ /**
6822
+ * Export audit logs
6823
+ *
6824
+ * Export audit logs for a date range (optionally filtered by actor/object) as ND-JSON. Returns a temporary download URL.
6825
+ *
6826
+ * API endpoint: `GET /audit-logs/export`
6827
+ */
6828
+ export(args: Args<"audit-logs.export">, options?: ExamplaryRequestOptions): Promise<Response<"audit-logs.export">>;
6829
+ }
6617
6830
  declare class ApiKeys {
6618
6831
  private readonly ctx;
6619
6832
  constructor(ctx: ClientContext);
@@ -7167,6 +7380,43 @@ declare class QuestionBank {
7167
7380
  delete(id: string, options?: ExamplaryRequestOptions): Promise<Response<"questionBank.delete">>;
7168
7381
  delete(args: Args<"questionBank.delete">, options?: ExamplaryRequestOptions): Promise<Response<"questionBank.delete">>;
7169
7382
  }
7383
+ declare class Prompts {
7384
+ private readonly ctx;
7385
+ constructor(ctx: ClientContext);
7386
+ /**
7387
+ * Get prompts
7388
+ *
7389
+ * Get a list of reusable prompts, merging the workspace's saved prompts with the defaults provided by Examplary. Optionally filter by type and language.
7390
+ *
7391
+ * API endpoint: `GET /prompts`
7392
+ */
7393
+ list(args?: Args<"prompts.list">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.list">>;
7394
+ /**
7395
+ * Save prompt
7396
+ *
7397
+ * Save a reusable prompt in the current workspace.
7398
+ *
7399
+ * API endpoint: `POST /prompts`
7400
+ */
7401
+ create(args?: Args<"prompts.create">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.create">>;
7402
+ /**
7403
+ * Update prompt
7404
+ *
7405
+ * Update an existing prompt in the current workspace.
7406
+ *
7407
+ * API endpoint: `PATCH /prompts/{id}`
7408
+ */
7409
+ update(args: Args<"prompts.update">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.update">>;
7410
+ /**
7411
+ * Delete prompt
7412
+ *
7413
+ * Delete a prompt from the current workspace.
7414
+ *
7415
+ * API endpoint: `DELETE /prompts/{id}`
7416
+ */
7417
+ delete(id: string, options?: ExamplaryRequestOptions): Promise<Response<"prompts.delete">>;
7418
+ delete(args: Args<"prompts.delete">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.delete">>;
7419
+ }
7170
7420
  declare class Jobs {
7171
7421
  private readonly ctx;
7172
7422
  constructor(ctx: ClientContext);
@@ -7200,6 +7450,7 @@ declare class Examplary {
7200
7450
  readonly media: Media;
7201
7451
  readonly org: Org;
7202
7452
  readonly orgs: Orgs;
7453
+ readonly auditLogs: AuditLogs;
7203
7454
  readonly apiKeys: ApiKeys;
7204
7455
  readonly attributes: Attributes;
7205
7456
  readonly taxonomies: Taxonomies;
@@ -7211,6 +7462,7 @@ declare class Examplary {
7211
7462
  readonly folders: Folders;
7212
7463
  readonly groups: Groups;
7213
7464
  readonly questionBank: QuestionBank;
7465
+ readonly prompts: Prompts;
7214
7466
  readonly jobs: Jobs;
7215
7467
  constructor(options: ExamplaryClientOptions);
7216
7468
  /**
package/dist/index.d.ts CHANGED
@@ -1031,6 +1031,46 @@ interface paths {
1031
1031
  patch?: never;
1032
1032
  trace?: never;
1033
1033
  };
1034
+ "/audit-logs": {
1035
+ parameters: {
1036
+ query?: never;
1037
+ header?: never;
1038
+ path?: never;
1039
+ cookie?: never;
1040
+ };
1041
+ /**
1042
+ * List audit logs
1043
+ * @description List the workspace's audit logs, newest first, with optional date range, actor and object filters. Paginated.
1044
+ */
1045
+ get: operations["audit-logs.list"];
1046
+ put?: never;
1047
+ post?: never;
1048
+ delete?: never;
1049
+ options?: never;
1050
+ head?: never;
1051
+ patch?: never;
1052
+ trace?: never;
1053
+ };
1054
+ "/audit-logs/export": {
1055
+ parameters: {
1056
+ query?: never;
1057
+ header?: never;
1058
+ path?: never;
1059
+ cookie?: never;
1060
+ };
1061
+ /**
1062
+ * Export audit logs
1063
+ * @description Export audit logs for a date range (optionally filtered by actor/object) as ND-JSON. Returns a temporary download URL.
1064
+ */
1065
+ get: operations["audit-logs.export"];
1066
+ put?: never;
1067
+ post?: never;
1068
+ delete?: never;
1069
+ options?: never;
1070
+ head?: never;
1071
+ patch?: never;
1072
+ trace?: never;
1073
+ };
1034
1074
  "/api-keys": {
1035
1075
  parameters: {
1036
1076
  query?: never;
@@ -1947,6 +1987,54 @@ interface paths {
1947
1987
  patch: operations["patchRubrics:id"];
1948
1988
  trace?: never;
1949
1989
  };
1990
+ "/prompts": {
1991
+ parameters: {
1992
+ query?: never;
1993
+ header?: never;
1994
+ path?: never;
1995
+ cookie?: never;
1996
+ };
1997
+ /**
1998
+ * Get prompts
1999
+ * @description Get a list of reusable prompts, merging the workspace's saved prompts with the defaults provided by Examplary. Optionally filter by type and language.
2000
+ */
2001
+ get: operations["prompts.list"];
2002
+ put?: never;
2003
+ /**
2004
+ * Save prompt
2005
+ * @description Save a reusable prompt in the current workspace.
2006
+ */
2007
+ post: operations["prompts.create"];
2008
+ delete?: never;
2009
+ options?: never;
2010
+ head?: never;
2011
+ patch?: never;
2012
+ trace?: never;
2013
+ };
2014
+ "/prompts/{id}": {
2015
+ parameters: {
2016
+ query?: never;
2017
+ header?: never;
2018
+ path?: never;
2019
+ cookie?: never;
2020
+ };
2021
+ get?: never;
2022
+ put?: never;
2023
+ post?: never;
2024
+ /**
2025
+ * Delete prompt
2026
+ * @description Delete a prompt from the current workspace.
2027
+ */
2028
+ delete: operations["prompts.delete"];
2029
+ options?: never;
2030
+ head?: never;
2031
+ /**
2032
+ * Update prompt
2033
+ * @description Update an existing prompt in the current workspace.
2034
+ */
2035
+ patch: operations["prompts.update"];
2036
+ trace?: never;
2037
+ };
1950
2038
  "/jobs/{id}": {
1951
2039
  parameters: {
1952
2040
  query?: never;
@@ -3660,11 +3748,9 @@ interface operations {
3660
3748
  content: {
3661
3749
  "application/json": {
3662
3750
  name?: string;
3663
- /** Format: uri */
3664
3751
  logoImageUrl?: string;
3665
3752
  menuColor?: string;
3666
3753
  accentColor?: string;
3667
- sharingBlockPublic?: boolean;
3668
3754
  settings?: {
3669
3755
  /** @description Whether users can only see other users in the same groups as them. */
3670
3756
  restrictGroupVisibility?: boolean;
@@ -3730,6 +3816,42 @@ interface operations {
3730
3816
  };
3731
3817
  responses: never;
3732
3818
  };
3819
+ "audit-logs.list": {
3820
+ parameters: {
3821
+ query?: {
3822
+ actor?: string;
3823
+ object?: string;
3824
+ /** @description Start date (YYYY-MM-DD), inclusive */
3825
+ from?: string;
3826
+ /** @description End date (YYYY-MM-DD), inclusive */
3827
+ to?: string;
3828
+ /** @description Base64-encoded pagination cursor */
3829
+ exclusiveStartKey?: string;
3830
+ };
3831
+ header?: never;
3832
+ path?: never;
3833
+ cookie?: never;
3834
+ };
3835
+ requestBody?: never;
3836
+ responses: never;
3837
+ };
3838
+ "audit-logs.export": {
3839
+ parameters: {
3840
+ query: {
3841
+ /** @description Start date (YYYY-MM-DD), inclusive */
3842
+ from: string;
3843
+ /** @description End date (YYYY-MM-DD), inclusive */
3844
+ to: string;
3845
+ actor?: string;
3846
+ object?: string;
3847
+ };
3848
+ header?: never;
3849
+ path?: never;
3850
+ cookie?: never;
3851
+ };
3852
+ requestBody?: never;
3853
+ responses: never;
3854
+ };
3733
3855
  "apiKeys.get": {
3734
3856
  parameters: {
3735
3857
  query?: never;
@@ -5642,6 +5764,71 @@ interface operations {
5642
5764
  };
5643
5765
  responses: never;
5644
5766
  };
5767
+ "prompts.list": {
5768
+ parameters: {
5769
+ query?: {
5770
+ /** @description Only return prompts of this type */
5771
+ type?: string;
5772
+ /** @description Language for the default prompts, falls back to the user's preference or 'en' */
5773
+ language?: string;
5774
+ };
5775
+ header?: never;
5776
+ path?: never;
5777
+ cookie?: never;
5778
+ };
5779
+ requestBody?: never;
5780
+ responses: never;
5781
+ };
5782
+ "prompts.create": {
5783
+ parameters: {
5784
+ query?: never;
5785
+ header?: never;
5786
+ path?: never;
5787
+ cookie?: never;
5788
+ };
5789
+ requestBody?: {
5790
+ content: {
5791
+ "application/json": {
5792
+ name: string;
5793
+ promptType: string;
5794
+ content: string;
5795
+ };
5796
+ };
5797
+ };
5798
+ responses: never;
5799
+ };
5800
+ "prompts.delete": {
5801
+ parameters: {
5802
+ query?: never;
5803
+ header?: never;
5804
+ path: {
5805
+ id: string;
5806
+ };
5807
+ cookie?: never;
5808
+ };
5809
+ requestBody?: never;
5810
+ responses: never;
5811
+ };
5812
+ "prompts.update": {
5813
+ parameters: {
5814
+ query?: never;
5815
+ header?: never;
5816
+ path: {
5817
+ id: string;
5818
+ };
5819
+ cookie?: never;
5820
+ };
5821
+ requestBody?: {
5822
+ content: {
5823
+ "application/json": {
5824
+ name?: string;
5825
+ promptType?: string;
5826
+ content?: string;
5827
+ };
5828
+ };
5829
+ };
5830
+ responses: never;
5831
+ };
5645
5832
  "jobs.get": {
5646
5833
  parameters: {
5647
5834
  query?: never;
@@ -5958,6 +6145,12 @@ interface _PathOverrides {
5958
6145
  "deleteRubrics:id": {
5959
6146
  id: string;
5960
6147
  };
6148
+ "prompts.update": {
6149
+ id: string;
6150
+ };
6151
+ "prompts.delete": {
6152
+ id: string;
6153
+ };
5961
6154
  "jobs.get": {
5962
6155
  id: string;
5963
6156
  };
@@ -6614,6 +6807,26 @@ declare class Orgs {
6614
6807
  */
6615
6808
  create(args?: Args<"orgs.create">, options?: ExamplaryRequestOptions): Promise<Response<"orgs.create">>;
6616
6809
  }
6810
+ declare class AuditLogs {
6811
+ private readonly ctx;
6812
+ constructor(ctx: ClientContext);
6813
+ /**
6814
+ * List audit logs
6815
+ *
6816
+ * List the workspace's audit logs, newest first, with optional date range, actor and object filters. Paginated.
6817
+ *
6818
+ * API endpoint: `GET /audit-logs`
6819
+ */
6820
+ list(args?: Args<"audit-logs.list">, options?: ExamplaryRequestOptions): Promise<Response<"audit-logs.list">>;
6821
+ /**
6822
+ * Export audit logs
6823
+ *
6824
+ * Export audit logs for a date range (optionally filtered by actor/object) as ND-JSON. Returns a temporary download URL.
6825
+ *
6826
+ * API endpoint: `GET /audit-logs/export`
6827
+ */
6828
+ export(args: Args<"audit-logs.export">, options?: ExamplaryRequestOptions): Promise<Response<"audit-logs.export">>;
6829
+ }
6617
6830
  declare class ApiKeys {
6618
6831
  private readonly ctx;
6619
6832
  constructor(ctx: ClientContext);
@@ -7167,6 +7380,43 @@ declare class QuestionBank {
7167
7380
  delete(id: string, options?: ExamplaryRequestOptions): Promise<Response<"questionBank.delete">>;
7168
7381
  delete(args: Args<"questionBank.delete">, options?: ExamplaryRequestOptions): Promise<Response<"questionBank.delete">>;
7169
7382
  }
7383
+ declare class Prompts {
7384
+ private readonly ctx;
7385
+ constructor(ctx: ClientContext);
7386
+ /**
7387
+ * Get prompts
7388
+ *
7389
+ * Get a list of reusable prompts, merging the workspace's saved prompts with the defaults provided by Examplary. Optionally filter by type and language.
7390
+ *
7391
+ * API endpoint: `GET /prompts`
7392
+ */
7393
+ list(args?: Args<"prompts.list">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.list">>;
7394
+ /**
7395
+ * Save prompt
7396
+ *
7397
+ * Save a reusable prompt in the current workspace.
7398
+ *
7399
+ * API endpoint: `POST /prompts`
7400
+ */
7401
+ create(args?: Args<"prompts.create">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.create">>;
7402
+ /**
7403
+ * Update prompt
7404
+ *
7405
+ * Update an existing prompt in the current workspace.
7406
+ *
7407
+ * API endpoint: `PATCH /prompts/{id}`
7408
+ */
7409
+ update(args: Args<"prompts.update">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.update">>;
7410
+ /**
7411
+ * Delete prompt
7412
+ *
7413
+ * Delete a prompt from the current workspace.
7414
+ *
7415
+ * API endpoint: `DELETE /prompts/{id}`
7416
+ */
7417
+ delete(id: string, options?: ExamplaryRequestOptions): Promise<Response<"prompts.delete">>;
7418
+ delete(args: Args<"prompts.delete">, options?: ExamplaryRequestOptions): Promise<Response<"prompts.delete">>;
7419
+ }
7170
7420
  declare class Jobs {
7171
7421
  private readonly ctx;
7172
7422
  constructor(ctx: ClientContext);
@@ -7200,6 +7450,7 @@ declare class Examplary {
7200
7450
  readonly media: Media;
7201
7451
  readonly org: Org;
7202
7452
  readonly orgs: Orgs;
7453
+ readonly auditLogs: AuditLogs;
7203
7454
  readonly apiKeys: ApiKeys;
7204
7455
  readonly attributes: Attributes;
7205
7456
  readonly taxonomies: Taxonomies;
@@ -7211,6 +7462,7 @@ declare class Examplary {
7211
7462
  readonly folders: Folders;
7212
7463
  readonly groups: Groups;
7213
7464
  readonly questionBank: QuestionBank;
7465
+ readonly prompts: Prompts;
7214
7466
  readonly jobs: Jobs;
7215
7467
  constructor(options: ExamplaryClientOptions);
7216
7468
  /**
package/dist/index.js CHANGED
@@ -521,6 +521,19 @@ var Orgs = class {
521
521
  return request(this.ctx, "POST", "/orgs", [], [], true, args, options);
522
522
  }
523
523
  };
524
+ var AuditLogs = class {
525
+ constructor(ctx) {
526
+ this.ctx = ctx;
527
+ }
528
+ list(arg, options) {
529
+ const args = arg;
530
+ return request(this.ctx, "GET", "/audit-logs", [], ["actor", "object", "from", "to", "exclusiveStartKey"], false, args, options);
531
+ }
532
+ export(arg, options) {
533
+ const args = arg;
534
+ return request(this.ctx, "GET", "/audit-logs/export", [], ["from", "to", "actor", "object"], false, args, options);
535
+ }
536
+ };
524
537
  var ApiKeys = class {
525
538
  constructor(ctx) {
526
539
  this.ctx = ctx;
@@ -828,6 +841,27 @@ var QuestionBank = class {
828
841
  return request(this.ctx, "DELETE", "/question-bank/{id}", ["id"], [], false, args, options);
829
842
  }
830
843
  };
844
+ var Prompts = class {
845
+ constructor(ctx) {
846
+ this.ctx = ctx;
847
+ }
848
+ list(arg, options) {
849
+ const args = arg;
850
+ return request(this.ctx, "GET", "/prompts", [], ["type", "language"], false, args, options);
851
+ }
852
+ create(arg, options) {
853
+ const args = arg;
854
+ return request(this.ctx, "POST", "/prompts", [], [], true, args, options);
855
+ }
856
+ update(arg, options) {
857
+ const args = arg;
858
+ return request(this.ctx, "PATCH", "/prompts/{id}", ["id"], [], true, args, options);
859
+ }
860
+ delete(arg, options) {
861
+ const args = typeof arg === "string" ? { id: arg } : arg;
862
+ return request(this.ctx, "DELETE", "/prompts/{id}", ["id"], [], false, args, options);
863
+ }
864
+ };
831
865
  var Jobs = class {
832
866
  constructor(ctx) {
833
867
  this.ctx = ctx;
@@ -853,6 +887,7 @@ var Examplary = class {
853
887
  this.media = new Media(this.ctx);
854
888
  this.org = new Org(this.ctx);
855
889
  this.orgs = new Orgs(this.ctx);
890
+ this.auditLogs = new AuditLogs(this.ctx);
856
891
  this.apiKeys = new ApiKeys(this.ctx);
857
892
  this.attributes = new Attributes(this.ctx);
858
893
  this.taxonomies = new Taxonomies(this.ctx);
@@ -864,6 +899,7 @@ var Examplary = class {
864
899
  this.folders = new Folders(this.ctx);
865
900
  this.groups = new Groups(this.ctx);
866
901
  this.questionBank = new QuestionBank(this.ctx);
902
+ this.prompts = new Prompts(this.ctx);
867
903
  this.jobs = new Jobs(this.ctx);
868
904
  }
869
905
  getRubrics(arg, options) {