waldur-js-client 7.9.6-dev.15 → 7.9.6-dev.17

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.d.ts CHANGED
@@ -5954,13 +5954,22 @@ export declare const userActionsSummaryCount: <ThrowOnError extends boolean = fa
5954
5954
  * Trigger update of user actions
5955
5955
  */
5956
5956
  export declare const userActionsUpdateActions: <ThrowOnError extends boolean = false>(options?: Options<UserActionsUpdateActionsData, ThrowOnError>) => import("./client").RequestResult<UserActionsUpdateActionsResponses, unknown, ThrowOnError, "fields">;
5957
+ /**
5958
+ * List user agreements
5959
+ * Retrieve a list of user agreements (Terms of Service and Privacy Policy). Supports filtering by agreement type and language with fallback behavior.
5960
+ */
5957
5961
  export declare const userAgreementsList: <ThrowOnError extends boolean = false>(options?: Options<UserAgreementsListData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsListResponses, unknown, ThrowOnError, "fields">;
5958
5962
  /**
5963
+ * List user agreements
5959
5964
  * Get number of items in the collection matching the request parameters.
5960
5965
  */
5961
5966
  export declare const userAgreementsCount: <ThrowOnError extends boolean = false>(options?: Options<UserAgreementsCountData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsCountResponses, unknown, ThrowOnError, "fields">;
5962
5967
  export declare const userAgreementsCreate: <ThrowOnError extends boolean = false>(options: Options<UserAgreementsCreateData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsCreateResponses, unknown, ThrowOnError, "fields">;
5963
5968
  export declare const userAgreementsDestroy: <ThrowOnError extends boolean = false>(options: Options<UserAgreementsDestroyData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsDestroyResponses, unknown, ThrowOnError, "fields">;
5969
+ /**
5970
+ * Retrieve user agreement
5971
+ * Fetch the details of a specific user agreement by its UUID.
5972
+ */
5964
5973
  export declare const userAgreementsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserAgreementsRetrieveData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsRetrieveResponses, unknown, ThrowOnError, "fields">;
5965
5974
  export declare const userAgreementsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<UserAgreementsPartialUpdateData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsPartialUpdateResponses, unknown, ThrowOnError, "fields">;
5966
5975
  export declare const userAgreementsUpdate: <ThrowOnError extends boolean = false>(options: Options<UserAgreementsUpdateData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsUpdateResponses, unknown, ThrowOnError, "fields">;
package/dist/sdk.gen.js CHANGED
@@ -34017,6 +34017,10 @@ export const userActionsUpdateActions = (options) => {
34017
34017
  }
34018
34018
  });
34019
34019
  };
34020
+ /**
34021
+ * List user agreements
34022
+ * Retrieve a list of user agreements (Terms of Service and Privacy Policy). Supports filtering by agreement type and language with fallback behavior.
34023
+ */
34020
34024
  export const userAgreementsList = (options) => {
34021
34025
  return (options?.client ?? _heyApiClient).get({
34022
34026
  security: [
@@ -34034,6 +34038,7 @@ export const userAgreementsList = (options) => {
34034
34038
  });
34035
34039
  };
34036
34040
  /**
34041
+ * List user agreements
34037
34042
  * Get number of items in the collection matching the request parameters.
34038
34043
  */
34039
34044
  export const userAgreementsCount = (options) => {
@@ -34088,6 +34093,10 @@ export const userAgreementsDestroy = (options) => {
34088
34093
  ...options
34089
34094
  });
34090
34095
  };
34096
+ /**
34097
+ * Retrieve user agreement
34098
+ * Fetch the details of a specific user agreement by its UUID.
34099
+ */
34091
34100
  export const userAgreementsRetrieve = (options) => {
34092
34101
  return (options.client ?? _heyApiClient).get({
34093
34102
  security: [
@@ -11005,11 +11005,11 @@ export type PatchedQuestionAdminRequest = {
11005
11005
  question_type?: QuestionTypeEnum;
11006
11006
  order?: number;
11007
11007
  /**
11008
- * Minimum value allowed for NUMBER type questions
11008
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
11009
11009
  */
11010
11010
  min_value?: string | null;
11011
11011
  /**
11012
- * Maximum value allowed for NUMBER type questions
11012
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
11013
11013
  */
11014
11014
  max_value?: string | null;
11015
11015
  /**
@@ -12996,11 +12996,11 @@ export type Question = {
12996
12996
  question_type?: QuestionTypeEnum;
12997
12997
  order?: number;
12998
12998
  /**
12999
- * Minimum value allowed for NUMBER type questions
12999
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
13000
13000
  */
13001
13001
  min_value?: string | null;
13002
13002
  /**
13003
- * Maximum value allowed for NUMBER type questions
13003
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
13004
13004
  */
13005
13005
  max_value?: string | null;
13006
13006
  /**
@@ -13060,11 +13060,11 @@ export type QuestionAdmin = {
13060
13060
  question_type?: QuestionTypeEnum;
13061
13061
  order?: number;
13062
13062
  /**
13063
- * Minimum value allowed for NUMBER type questions
13063
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
13064
13064
  */
13065
13065
  min_value?: string | null;
13066
13066
  /**
13067
- * Maximum value allowed for NUMBER type questions
13067
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
13068
13068
  */
13069
13069
  max_value?: string | null;
13070
13070
  /**
@@ -13126,11 +13126,11 @@ export type QuestionAdminRequest = {
13126
13126
  question_type?: QuestionTypeEnum;
13127
13127
  order?: number;
13128
13128
  /**
13129
- * Minimum value allowed for NUMBER type questions
13129
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
13130
13130
  */
13131
13131
  min_value?: string | null;
13132
13132
  /**
13133
- * Maximum value allowed for NUMBER type questions
13133
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
13134
13134
  */
13135
13135
  max_value?: string | null;
13136
13136
  /**
@@ -13245,7 +13245,7 @@ export type QuestionOptionsAdminRequest = {
13245
13245
  order?: number;
13246
13246
  question: string;
13247
13247
  };
13248
- export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files';
13248
+ export type QuestionTypeEnum = 'boolean' | 'single_select' | 'multi_select' | 'text_input' | 'text_area' | 'number' | 'date' | 'file' | 'multiple_files' | 'phone_number' | 'year' | 'email' | 'url' | 'country' | 'rating' | 'datetime';
13249
13249
  export type QuestionWithAnswer = {
13250
13250
  readonly uuid: string;
13251
13251
  readonly description: string;
@@ -13261,11 +13261,11 @@ export type QuestionWithAnswer = {
13261
13261
  } | null;
13262
13262
  readonly question_options: Array<unknown> | null;
13263
13263
  /**
13264
- * Minimum value allowed for NUMBER type questions
13264
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
13265
13265
  */
13266
13266
  readonly min_value: string | null;
13267
13267
  /**
13268
- * Maximum value allowed for NUMBER type questions
13268
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
13269
13269
  */
13270
13270
  readonly max_value: string | null;
13271
13271
  /**
@@ -13300,11 +13300,11 @@ export type QuestionWithAnswerReviewer = {
13300
13300
  } | null;
13301
13301
  readonly question_options: Array<unknown> | null;
13302
13302
  /**
13303
- * Minimum value allowed for NUMBER type questions
13303
+ * Minimum value allowed for NUMBER, YEAR, and RATING type questions
13304
13304
  */
13305
13305
  readonly min_value: string | null;
13306
13306
  /**
13307
- * Maximum value allowed for NUMBER type questions
13307
+ * Maximum value allowed for NUMBER, YEAR, and RATING type questions
13308
13308
  */
13309
13309
  readonly max_value: string | null;
13310
13310
  /**
@@ -58251,6 +58251,10 @@ export type UserAgreementsListData = {
58251
58251
  path?: never;
58252
58252
  query?: {
58253
58253
  agreement_type?: 'PP' | 'TOS';
58254
+ /**
58255
+ * ISO 639-1 language code (e.g., 'en', 'de', 'et'). Returns requested language or falls back to default version if unavailable.
58256
+ */
58257
+ language?: string;
58254
58258
  /**
58255
58259
  * A page number within the paginated result set.
58256
58260
  */
@@ -58271,6 +58275,10 @@ export type UserAgreementsCountData = {
58271
58275
  path?: never;
58272
58276
  query?: {
58273
58277
  agreement_type?: 'PP' | 'TOS';
58278
+ /**
58279
+ * ISO 639-1 language code (e.g., 'en', 'de', 'et'). Returns requested language or falls back to default version if unavailable.
58280
+ */
58281
+ language?: string;
58274
58282
  /**
58275
58283
  * A page number within the paginated result set.
58276
58284
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.6-dev.15",
3
+ "version": "7.9.6-dev.17",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",