@insurup/sdk 0.1.1 → 0.1.2

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.ts CHANGED
@@ -22,7 +22,8 @@ declare enum InsurUpClientErrorType {
22
22
  NullResponse = "NullResponse",
23
23
  Timeout = "Timeout",
24
24
  HttpRequestFailed = "HttpRequestFailed",
25
- UnexpectedNoContent = "UnexpectedNoContent"
25
+ UnexpectedNoContent = "UnexpectedNoContent",
26
+ GraphQLError = "GraphQLError"
26
27
  }
27
28
  /**
28
29
  * Server-side error types from HTTP responses
@@ -5325,6 +5326,21 @@ declare enum CallCenterImplementation {
5325
5326
  None = "None",
5326
5327
  AloTech = "AloTech"
5327
5328
  }
5329
+ /**
5330
+ * Agent user state enumeration.
5331
+ * Tracks the activation state of an agent user account.
5332
+ *
5333
+ * Acente kullanıcısı durum enum'u.
5334
+ * Acente kullanıcı hesabının aktivasyon durumunu takip eder.
5335
+ */
5336
+ declare enum AgentUserState {
5337
+ /** User account is pending activation / Kullanıcı hesabı aktivasyon bekliyor */
5338
+ Pending = "PENDING",
5339
+ /** User account is active and operational / Kullanıcı hesabı aktif ve çalışır durumda */
5340
+ Active = "ACTIVE",
5341
+ /** User account is inactive or disabled / Kullanıcı hesabı inaktif veya devre dışı */
5342
+ Inactive = "INACTIVE"
5343
+ }
5328
5344
  /**
5329
5345
  * Base class for SMS service integration options.
5330
5346
  *
@@ -7075,6 +7091,595 @@ declare class InsurUpAgentSetupClient {
7075
7091
  completeAgentSetupRequest(request: CompleteAgentSetupRequestRequest, options?: RequestOptions): Promise<InsurUpResult>;
7076
7092
  }
7077
7093
 
7094
+ /**
7095
+ * @fileoverview GraphQL Transport Layer - Fetch-based GraphQL client
7096
+ * @description GraphQL transport with error handling and type safety
7097
+ */
7098
+
7099
+ /**
7100
+ * GraphQL error location
7101
+ */
7102
+ interface GraphQLErrorLocation {
7103
+ line: number;
7104
+ column: number;
7105
+ }
7106
+ /**
7107
+ * GraphQL error object
7108
+ */
7109
+ interface GraphQLError {
7110
+ message: string;
7111
+ locations?: GraphQLErrorLocation[];
7112
+ path?: (string | number)[];
7113
+ extensions?: Record<string, unknown>;
7114
+ }
7115
+ /**
7116
+ * GraphQL response structure
7117
+ */
7118
+ interface GraphQLResponse<T> {
7119
+ data?: T;
7120
+ errors?: GraphQLError[];
7121
+ }
7122
+ /**
7123
+ * GraphQL request payload
7124
+ */
7125
+ interface GraphQLRequest {
7126
+ query: string;
7127
+ variables?: Record<string, unknown>;
7128
+ operationName?: string;
7129
+ }
7130
+ /**
7131
+ * GraphQL transport class providing typed query execution
7132
+ */
7133
+ declare class GraphQLTransport {
7134
+ private readonly http;
7135
+ constructor(http: HttpTransport);
7136
+ /**
7137
+ * Executes a GraphQL query or mutation
7138
+ * @param query The GraphQL query string
7139
+ * @param variables Optional variables for the query
7140
+ * @param options Optional request options
7141
+ * @returns Promise resolving to InsurUpResult<T>
7142
+ */
7143
+ query<T>(query: string, variables?: Record<string, unknown>, options?: RequestOptions): Promise<InsurUpResult<T>>;
7144
+ }
7145
+
7146
+ /**
7147
+ * @fileoverview Date/Time Types
7148
+ * @description Common date and time types for the InsurUp TypeScript SDK
7149
+ */
7150
+ /**
7151
+ * DateTime class for handling ISO 8601 datetime strings.
7152
+ * Serializable to/from JSON as ISO 8601 string.
7153
+ *
7154
+ * @example
7155
+ * const dt = new DateTime("2024-01-15T10:30:00Z");
7156
+ * dt.toDate(); // Native Date object
7157
+ * dt.toISOString(); // "2024-01-15T10:30:00.000Z"
7158
+ * JSON.stringify(dt); // "\"2024-01-15T10:30:00.000Z\""
7159
+ *
7160
+ * // From native Date
7161
+ * const dt2 = DateTime.fromDate(new Date());
7162
+ */
7163
+ declare class DateTime {
7164
+ private readonly _value;
7165
+ constructor(value: string | Date);
7166
+ /** Creates DateTime from a native Date object */
7167
+ static fromDate(date: Date): DateTime;
7168
+ /** Creates DateTime from current time */
7169
+ static now(): DateTime;
7170
+ /** Returns the native Date object */
7171
+ toDate(): Date;
7172
+ /** Returns ISO 8601 string representation */
7173
+ toISOString(): string;
7174
+ /** Returns ISO 8601 string (for JSON serialization) */
7175
+ toJSON(): string;
7176
+ /** Returns ISO 8601 string */
7177
+ toString(): string;
7178
+ /** Returns timestamp in milliseconds */
7179
+ valueOf(): number;
7180
+ }
7181
+ /**
7182
+ * DateOnly class for handling date-only strings (YYYY-MM-DD format).
7183
+ * Serializable to/from JSON as YYYY-MM-DD string.
7184
+ *
7185
+ * @example
7186
+ * const date = new DateOnly("2024-01-15");
7187
+ * date.toDate(); // Native Date object (at midnight UTC)
7188
+ * date.toString(); // "2024-01-15"
7189
+ * JSON.stringify(date); // "\"2024-01-15\""
7190
+ *
7191
+ * // From native Date
7192
+ * const date2 = DateOnly.fromDate(new Date());
7193
+ */
7194
+ declare class DateOnly {
7195
+ private readonly _year;
7196
+ private readonly _month;
7197
+ private readonly _day;
7198
+ constructor(value: string | Date);
7199
+ /** Creates DateOnly from a native Date object */
7200
+ static fromDate(date: Date): DateOnly;
7201
+ /** Creates DateOnly from current date */
7202
+ static today(): DateOnly;
7203
+ /** Returns the native Date object (at midnight UTC) */
7204
+ toDate(): Date;
7205
+ /** Returns YYYY-MM-DD string representation */
7206
+ toString(): string;
7207
+ /** Returns YYYY-MM-DD string (for JSON serialization) */
7208
+ toJSON(): string;
7209
+ /** Returns timestamp in milliseconds */
7210
+ valueOf(): number;
7211
+ /** Gets the year */
7212
+ get year(): number;
7213
+ /** Gets the month (1-12) */
7214
+ get month(): number;
7215
+ /** Gets the day (1-31) */
7216
+ get day(): number;
7217
+ }
7218
+
7219
+ /**
7220
+ * @fileoverview Common GraphQL Types
7221
+ * @description Shared types for GraphQL operations including pagination and connection patterns
7222
+ */
7223
+
7224
+ /**
7225
+ * Information about pagination in a connection.
7226
+ */
7227
+ interface PageInfo {
7228
+ /**
7229
+ * Indicates whether more edges exist following the set defined by the clients arguments.
7230
+ */
7231
+ hasNextPage: boolean;
7232
+ /**
7233
+ * Indicates whether more edges exist prior the set defined by the clients arguments.
7234
+ */
7235
+ hasPreviousPage: boolean;
7236
+ /**
7237
+ * When paginating backwards, the cursor to continue.
7238
+ */
7239
+ startCursor?: string | null;
7240
+ /**
7241
+ * When paginating forwards, the cursor to continue.
7242
+ */
7243
+ endCursor?: string | null;
7244
+ }
7245
+ /**
7246
+ * Information about the offset pagination.
7247
+ */
7248
+ interface CollectionSegmentInfo {
7249
+ /**
7250
+ * Indicates whether more items exist following the set defined by the clients arguments.
7251
+ */
7252
+ hasNextPage: boolean;
7253
+ /**
7254
+ * Indicates whether more items exist prior the set defined by the clients arguments.
7255
+ */
7256
+ hasPreviousPage: boolean;
7257
+ }
7258
+ /**
7259
+ * Generic interface for a connection edge
7260
+ */
7261
+ interface Edge<T> {
7262
+ /**
7263
+ * A cursor for use in pagination.
7264
+ */
7265
+ cursor: string;
7266
+ /**
7267
+ * The item at the end of the edge.
7268
+ */
7269
+ node?: T | null;
7270
+ }
7271
+ /**
7272
+ * Generic interface for a connection
7273
+ */
7274
+ interface Connection<T> {
7275
+ /**
7276
+ * Information to aid in pagination.
7277
+ */
7278
+ pageInfo: PageInfo;
7279
+ /**
7280
+ * A list of edges.
7281
+ */
7282
+ edges?: Edge<T>[] | null;
7283
+ /**
7284
+ * A flattened list of the nodes.
7285
+ */
7286
+ nodes?: (T | null)[] | null;
7287
+ /**
7288
+ * Identifies the total count of items in the connection.
7289
+ */
7290
+ totalCount: number;
7291
+ }
7292
+ /**
7293
+ * Sort direction enum
7294
+ */
7295
+ declare enum SortEnumType {
7296
+ ASC = "ASC",
7297
+ DESC = "DESC"
7298
+ }
7299
+ /**
7300
+ * Score modification options. Specify either boost or constant, but not both.
7301
+ */
7302
+ interface SearchScoreInput {
7303
+ /**
7304
+ * Multiply the score by a given value or by the value of a numeric field
7305
+ */
7306
+ boost?: number | null;
7307
+ /**
7308
+ * Replace the score with a constant value
7309
+ */
7310
+ constant?: number | null;
7311
+ }
7312
+ /**
7313
+ * Input for text search operations with optional score modification
7314
+ */
7315
+ interface SearchTextInput {
7316
+ /**
7317
+ * The search query string
7318
+ */
7319
+ value: string;
7320
+ /**
7321
+ * Optional score modification options
7322
+ */
7323
+ score?: SearchScoreInput | null;
7324
+ }
7325
+ interface BooleanOperationFilterInput {
7326
+ eq?: boolean | null;
7327
+ neq?: boolean | null;
7328
+ }
7329
+ interface StringOperationFilterInput {
7330
+ and?: StringOperationFilterInput[] | null;
7331
+ or?: StringOperationFilterInput[] | null;
7332
+ eq?: string | null;
7333
+ neq?: string | null;
7334
+ contains?: string | null;
7335
+ ncontains?: string | null;
7336
+ in?: (string | null)[] | null;
7337
+ nin?: (string | null)[] | null;
7338
+ startsWith?: string | null;
7339
+ nstartsWith?: string | null;
7340
+ endsWith?: string | null;
7341
+ nendsWith?: string | null;
7342
+ }
7343
+ interface IntOperationFilterInput {
7344
+ eq?: number | null;
7345
+ neq?: number | null;
7346
+ in?: (number | null)[] | null;
7347
+ nin?: (number | null)[] | null;
7348
+ gt?: number | null;
7349
+ ngt?: number | null;
7350
+ gte?: number | null;
7351
+ ngte?: number | null;
7352
+ lt?: number | null;
7353
+ nlt?: number | null;
7354
+ lte?: number | null;
7355
+ nlte?: number | null;
7356
+ }
7357
+ interface FloatOperationFilterInput {
7358
+ eq?: number | null;
7359
+ neq?: number | null;
7360
+ in?: (number | null)[] | null;
7361
+ nin?: (number | null)[] | null;
7362
+ gt?: number | null;
7363
+ ngt?: number | null;
7364
+ gte?: number | null;
7365
+ ngte?: number | null;
7366
+ lt?: number | null;
7367
+ nlt?: number | null;
7368
+ lte?: number | null;
7369
+ nlte?: number | null;
7370
+ }
7371
+ /** Acceptable date/time value for filter inputs */
7372
+ type DateTimeValue = string | DateTime | Date;
7373
+ /** Acceptable date-only value for filter inputs */
7374
+ type DateOnlyValue = string | DateOnly | Date;
7375
+ interface DateTimeOperationFilterInput {
7376
+ eq?: DateTimeValue | null;
7377
+ neq?: DateTimeValue | null;
7378
+ in?: (DateTimeValue | null)[] | null;
7379
+ nin?: (DateTimeValue | null)[] | null;
7380
+ gt?: DateTimeValue | null;
7381
+ ngt?: DateTimeValue | null;
7382
+ gte?: DateTimeValue | null;
7383
+ ngte?: DateTimeValue | null;
7384
+ lt?: DateTimeValue | null;
7385
+ nlt?: DateTimeValue | null;
7386
+ lte?: DateTimeValue | null;
7387
+ nlte?: DateTimeValue | null;
7388
+ }
7389
+ interface LocalDateOperationFilterInput {
7390
+ eq?: DateOnlyValue | null;
7391
+ neq?: DateOnlyValue | null;
7392
+ in?: (DateOnlyValue | null)[] | null;
7393
+ nin?: (DateOnlyValue | null)[] | null;
7394
+ gt?: DateOnlyValue | null;
7395
+ ngt?: DateOnlyValue | null;
7396
+ gte?: DateOnlyValue | null;
7397
+ ngte?: DateOnlyValue | null;
7398
+ lt?: DateOnlyValue | null;
7399
+ nlt?: DateOnlyValue | null;
7400
+ lte?: DateOnlyValue | null;
7401
+ nlte?: DateOnlyValue | null;
7402
+ }
7403
+ interface UuidOperationFilterInput {
7404
+ eq?: string | null;
7405
+ neq?: string | null;
7406
+ in?: (string | null)[] | null;
7407
+ nin?: (string | null)[] | null;
7408
+ gt?: string | null;
7409
+ ngt?: string | null;
7410
+ gte?: string | null;
7411
+ ngte?: string | null;
7412
+ lt?: string | null;
7413
+ nlt?: string | null;
7414
+ lte?: string | null;
7415
+ nlte?: string | null;
7416
+ }
7417
+ interface SearchStringOperationFilterInput {
7418
+ and?: SearchStringOperationFilterInput[] | null;
7419
+ or?: SearchStringOperationFilterInput[] | null;
7420
+ eq?: string | null;
7421
+ neq?: string | null;
7422
+ in?: (string | null)[] | null;
7423
+ nin?: (string | null)[] | null;
7424
+ textSearch?: SearchTextInput | null;
7425
+ wildcard?: SearchTextInput | null;
7426
+ autocomplete?: SearchTextInput | null;
7427
+ }
7428
+ /**
7429
+ * Generic enum filter input. Works with any enum type.
7430
+ */
7431
+ interface EnumOperationFilterInput<T> {
7432
+ eq?: T | null;
7433
+ neq?: T | null;
7434
+ in?: (T | null)[] | null;
7435
+ nin?: (T | null)[] | null;
7436
+ }
7437
+ /**
7438
+ * Generic list/array filter input. Used for filtering array fields.
7439
+ */
7440
+ interface ListFilterInputType<T> {
7441
+ all?: T | null;
7442
+ none?: T | null;
7443
+ some?: T | null;
7444
+ any?: boolean | null;
7445
+ }
7446
+ /**
7447
+ * Maps TypeScript types to their corresponding GraphQL filter input types.
7448
+ * - DateTime → DateTimeOperationFilterInput
7449
+ * - DateOnly → LocalDateOperationFilterInput
7450
+ * - Date → DateTimeOperationFilterInput
7451
+ * - string → StringOperationFilterInput
7452
+ * - number → IntOperationFilterInput
7453
+ * - boolean → BooleanOperationFilterInput
7454
+ * - arrays → ListFilterInputType with recursive ModelFilterInput
7455
+ * - objects → recursive ModelFilterInput
7456
+ * - enums → EnumOperationFilterInput
7457
+ */
7458
+ type FilterInputForType<T> = T extends DateTime ? DateTimeOperationFilterInput : T extends DateOnly ? LocalDateOperationFilterInput : T extends Date ? DateTimeOperationFilterInput : T extends string ? StringOperationFilterInput : T extends number ? IntOperationFilterInput : T extends boolean ? BooleanOperationFilterInput : T extends unknown[] ? ListFilterInputType<ModelFilterInput<UnwrapArray<T>>> : T extends Record<string, unknown> ? ModelFilterInput<T> : EnumOperationFilterInput<NonNullable<T>>;
7459
+ /**
7460
+ * Auto-generates a filter input type from any model.
7461
+ * Includes and/or combinators and maps each field to its appropriate filter type.
7462
+ *
7463
+ * @example
7464
+ * type CustomerFilter = ModelFilterInput<QueryCustomerModel>;
7465
+ * // Generates: { and?, or?, id?, name?, type?, agentBranch?, consents?, ... }
7466
+ */
7467
+ type ModelFilterInput<T> = {
7468
+ and?: ModelFilterInput<T>[] | null;
7469
+ or?: ModelFilterInput<T>[] | null;
7470
+ } & {
7471
+ [K in keyof T]?: FilterInputForType<NonNullable<T[K]>> | null;
7472
+ };
7473
+ /**
7474
+ * Maps TypeScript types to their corresponding GraphQL search input types.
7475
+ * Similar to FilterInputForType but uses SearchStringOperationFilterInput for strings.
7476
+ * Dates use the same filter inputs as in FilterInputForType.
7477
+ */
7478
+ type SearchInputForType<T> = T extends DateTime ? DateTimeOperationFilterInput : T extends DateOnly ? LocalDateOperationFilterInput : T extends Date ? DateTimeOperationFilterInput : T extends string ? SearchStringOperationFilterInput : T extends number ? IntOperationFilterInput : T extends boolean ? BooleanOperationFilterInput : T extends unknown[] ? ListFilterInputType<ModelSearchInput<UnwrapArray<T>>> : T extends Record<string, unknown> ? ModelSearchInput<T> : EnumOperationFilterInput<NonNullable<T>>;
7479
+ /**
7480
+ * Auto-generates a search input type from any model.
7481
+ * Similar to ModelFilterInput but uses search-specific string operations.
7482
+ *
7483
+ * @example
7484
+ * type CustomerSearch = ModelSearchInput<QueryCustomerModel>;
7485
+ */
7486
+ type ModelSearchInput<T> = {
7487
+ and?: ModelSearchInput<T>[] | null;
7488
+ or?: ModelSearchInput<T>[] | null;
7489
+ } & {
7490
+ [K in keyof T]?: SearchInputForType<NonNullable<T[K]>> | null;
7491
+ };
7492
+ /**
7493
+ * Generic query options for GraphQL connection queries.
7494
+ * Includes pagination, filtering, searching, and sorting.
7495
+ */
7496
+ interface GetQueryOptions<TFieldKey extends string = string, TFilter = unknown, TSearch = unknown, TSort = unknown> {
7497
+ /** Fields to select from the query */
7498
+ select?: TFieldKey[];
7499
+ /** Returns the first _n_ elements from the list */
7500
+ first?: number | null;
7501
+ /** Returns the elements in the list that come after the specified cursor */
7502
+ after?: string | null;
7503
+ /** Returns the last _n_ elements from the list */
7504
+ last?: number | null;
7505
+ /** Returns the elements in the list that come before the specified cursor */
7506
+ before?: string | null;
7507
+ /** Search criteria */
7508
+ search?: TSearch | null;
7509
+ /** Filter criteria */
7510
+ filter?: TFilter | null;
7511
+ /** Sort order */
7512
+ order?: TSort[] | null;
7513
+ }
7514
+ /**
7515
+ * Extracts element type from arrays, unwraps nullable types.
7516
+ */
7517
+ type UnwrapType<T> = T extends (infer E)[] ? E : NonNullable<T>;
7518
+ /**
7519
+ * Checks if a type is a nested object (not primitive/Date/DateTime/DateOnly).
7520
+ */
7521
+ type IsNestedObject<T> = T extends string | number | boolean | Date | DateTime | DateOnly | null | undefined ? false : T extends object ? true : false;
7522
+ /**
7523
+ * Generic utility to create field keys with nested dot-notation paths.
7524
+ * - Primitive fields: "id", "name" (as-is)
7525
+ * - Objects/Arrays: ONLY nested paths allowed, e.g. "agentBranch.id", "consents.consentType"
7526
+ * - Parent keys alone ("agentBranch", "consents") are NOT in the union
7527
+ *
7528
+ * @example
7529
+ * interface User {
7530
+ * id: string;
7531
+ * profile: { name: string; age: number };
7532
+ * tags: { label: string }[];
7533
+ * }
7534
+ * type UserFieldKey = DeepFieldKeys<User>;
7535
+ * // Result: "id" | "profile.name" | "profile.age" | "tags.label"
7536
+ */
7537
+ type DeepFieldKeys<T> = {
7538
+ [K in keyof T]-?: K extends string ? IsNestedObject<UnwrapType<T[K]>> extends true ? `${K}.${keyof UnwrapType<T[K]> & string}` : K : never;
7539
+ }[keyof T];
7540
+ /**
7541
+ * Extracts the parent key from a nested field path (e.g., "agentBranch.id" -> "agentBranch")
7542
+ */
7543
+ type ExtractParent<T extends string> = T extends `${infer Parent}.${string}` ? Parent : never;
7544
+ /**
7545
+ * Checks if a field key is a nested path
7546
+ */
7547
+ type IsNestedPath<T extends string> = T extends `${string}.${string}` ? true : false;
7548
+ /**
7549
+ * Extracts simple (non-nested) field keys from an array
7550
+ */
7551
+ type SimpleFields<T extends readonly string[]> = {
7552
+ [K in T[number]]: IsNestedPath<K> extends false ? K : never;
7553
+ }[T[number]];
7554
+ /**
7555
+ * Gets all unique parent keys from nested paths in an array
7556
+ */
7557
+ type NestedParents<T extends readonly string[]> = {
7558
+ [K in T[number]]: ExtractParent<K>;
7559
+ }[T[number]];
7560
+ /**
7561
+ * Gets all nested keys for a specific parent from an array
7562
+ */
7563
+ type NestedKeysForParent<T extends readonly string[], Parent extends string> = {
7564
+ [K in T[number]]: K extends `${Parent}.${infer Key}` ? Key : never;
7565
+ }[T[number]];
7566
+ /**
7567
+ * Helper to unwrap array element type
7568
+ */
7569
+ type UnwrapArray<T> = T extends (infer E)[] ? E : T;
7570
+ /**
7571
+ * Generic helper type to pick selected fields from a model.
7572
+ * Handles both simple fields and nested paths:
7573
+ * - Simple fields: picked directly from Model
7574
+ * - Nested paths: parent field is included with picked nested fields
7575
+ */
7576
+ type PickFields<Model, T extends readonly string[]> = {
7577
+ [K in SimpleFields<T> & keyof Model]: Model[K];
7578
+ } & {
7579
+ [K in NestedParents<T> & keyof Model as Model[K] extends unknown[] | null | undefined ? never : K]?: Pick<NonNullable<Model[K]>, NestedKeysForParent<T, K> & keyof NonNullable<Model[K]>> | null;
7580
+ } & {
7581
+ [K in NestedParents<T> & keyof Model as Model[K] extends unknown[] ? K : never]: Pick<UnwrapArray<Model[K]>, NestedKeysForParent<T, K> & keyof UnwrapArray<Model[K]>>[];
7582
+ };
7583
+ /**
7584
+ * Builds GraphQL field selection string from field keys with dot-notation support.
7585
+ * Groups nested field paths by their parent.
7586
+ *
7587
+ * @example
7588
+ * buildFieldSelection(["id", "name", "agentBranch.id", "agentBranch.name"])
7589
+ * // Returns: "id\nname\nagentBranch { id name }"
7590
+ *
7591
+ * @param fields Array of field keys (can include dot-notation for nested fields)
7592
+ * @param indent Indentation string for formatting (default: 12 spaces)
7593
+ */
7594
+ declare function buildFieldSelection(fields: readonly string[], indent?: string): string;
7595
+
7596
+ /**
7597
+ * @fileoverview Agent User GraphQL Types
7598
+ * @description Types for querying agent users via GraphQL
7599
+ */
7600
+
7601
+ interface AgentUserRoleInfo {
7602
+ id: string;
7603
+ name: string;
7604
+ isAdmin: boolean;
7605
+ }
7606
+ interface AgentUserBranchInfo {
7607
+ id: string;
7608
+ name: string;
7609
+ parentId?: string | null;
7610
+ parentName?: string | null;
7611
+ level: number;
7612
+ hierarchy: string;
7613
+ }
7614
+ interface QueryAgentUserResult {
7615
+ id: string;
7616
+ email: string;
7617
+ firstName: string;
7618
+ lastName: string;
7619
+ name: string;
7620
+ phoneNumber?: string | null;
7621
+ phoneNumberCountryCode?: number | null;
7622
+ state: AgentUserState;
7623
+ createdAt?: DateTime | null;
7624
+ lastLoginAt?: DateTime | null;
7625
+ roles?: AgentUserRoleInfo[] | null;
7626
+ branches?: AgentUserBranchInfo[] | null;
7627
+ }
7628
+ /**
7629
+ * Filter input for QueryAgentUserResult.
7630
+ * Auto-generated from model fields using ModelFilterInput.
7631
+ */
7632
+ type QueryAgentUserResultFilterInput = ModelFilterInput<QueryAgentUserResult>;
7633
+ /**
7634
+ * Search input for QueryAgentUserResult.
7635
+ * Auto-generated from model fields using ModelSearchInput.
7636
+ */
7637
+ type QueryAgentUserResultSearchInput = ModelSearchInput<QueryAgentUserResult>;
7638
+ /**
7639
+ * Sort input for QueryAgentUserResult.
7640
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
7641
+ */
7642
+ interface QueryAgentUserResultSortInput {
7643
+ email?: SortEnumType | null;
7644
+ firstName?: SortEnumType | null;
7645
+ lastName?: SortEnumType | null;
7646
+ name?: SortEnumType | null;
7647
+ state?: SortEnumType | null;
7648
+ createdAt?: SortEnumType | null;
7649
+ lastLoginAt?: SortEnumType | null;
7650
+ }
7651
+ type AgentUsersEdge = Edge<QueryAgentUserResult>;
7652
+ type AgentUsersConnection = Connection<QueryAgentUserResult>;
7653
+ /**
7654
+ * All available field keys for QueryAgentUserResult with nested dot-notation paths.
7655
+ */
7656
+ type AgentUserFieldKey = DeepFieldKeys<QueryAgentUserResult>;
7657
+ /**
7658
+ * Runtime array of all agent user field keys including nested paths.
7659
+ */
7660
+ declare const ALL_AGENT_USER_FIELDS: readonly ["id", "email", "firstName", "lastName", "name", "phoneNumber", "phoneNumberCountryCode", "state", "createdAt", "lastLoginAt", "roles.id", "roles.name", "roles.isAdmin", "branches.id", "branches.name", "branches.parentId", "branches.parentName", "branches.level", "branches.hierarchy"];
7661
+ /**
7662
+ * Helper type to pick selected fields from QueryAgentUserResult.
7663
+ */
7664
+ type PickAgentUserFields<T extends readonly AgentUserFieldKey[]> = PickFields<QueryAgentUserResult, T>;
7665
+ /**
7666
+ * Type-safe connection result based on selected fields
7667
+ */
7668
+ interface SelectedAgentUsersConnection<TFields extends AgentUserFieldKey[]> extends Omit<AgentUsersConnection, "nodes" | "edges"> {
7669
+ nodes?: (PickAgentUserFields<TFields> | null)[] | null;
7670
+ edges?: (Omit<AgentUsersEdge, "node"> & {
7671
+ node?: PickAgentUserFields<TFields> | null;
7672
+ })[] | null;
7673
+ }
7674
+ /**
7675
+ * Options for getAgentUsers query.
7676
+ * Extends GetQueryOptions with agent user-specific types.
7677
+ */
7678
+ interface GetAgentUsersOptions<TFields extends AgentUserFieldKey[] = AgentUserFieldKey[]> extends GetQueryOptions<AgentUserFieldKey, QueryAgentUserResultFilterInput, QueryAgentUserResultSearchInput, QueryAgentUserResultSortInput> {
7679
+ /** Fields to select from the query. If not provided, all fields are returned. */
7680
+ select?: TFields;
7681
+ }
7682
+
7078
7683
  /**
7079
7684
  * Provides comprehensive user management operations for insurance agency staff, enabling agencies to manage
7080
7685
  * their team members, permissions, and access control within the InsurUp platform ecosystem.
@@ -7084,7 +7689,8 @@ declare class InsurUpAgentSetupClient {
7084
7689
  */
7085
7690
  declare class InsurUpAgentUserClient {
7086
7691
  private readonly http;
7087
- constructor(http: HttpTransport);
7692
+ private readonly graphql?;
7693
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
7088
7694
  /**
7089
7695
  * Retrieves the current agent user's profile information including personal details and platform settings.
7090
7696
  *
@@ -7219,6 +7825,29 @@ declare class InsurUpAgentUserClient {
7219
7825
  * @returns Response with the count of migrated users / Taşınan kullanıcı sayısı ile yanıt
7220
7826
  */
7221
7827
  migrateAllAgentUsers(options?: RequestOptions): Promise<InsurUpResult<MigrateAllAgentUsersResult>>;
7828
+ /**
7829
+ * Queries agent users using GraphQL with advanced filtering, searching, sorting, and field selection.
7830
+ * Supports cursor-based pagination and type-safe field selection.
7831
+ *
7832
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak acente kullanıcılarını sorgular.
7833
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
7834
+ *
7835
+ * @example
7836
+ * // Basic query with all fields
7837
+ * const result = await client.agentUsers.getAgentUsers({ first: 10 });
7838
+ *
7839
+ * @example
7840
+ * // Type-safe field selection
7841
+ * const result = await client.agentUsers.getAgentUsers({
7842
+ * select: ['id', 'email', 'name', 'state'] as const,
7843
+ * first: 10,
7844
+ * filter: { state: { eq: AgentUserState.Active } }
7845
+ * });
7846
+ *
7847
+ * @param requestOptions Query options including pagination, filters, search, and field selection
7848
+ * @returns Paginated connection of agent users with type-narrowed fields
7849
+ */
7850
+ getAgentUsers<const TFields extends AgentUserFieldKey[]>(requestOptions?: GetAgentUsersOptions<TFields>): Promise<InsurUpResult<TFields extends readonly AgentUserFieldKey[] ? SelectedAgentUsersConnection<TFields> : AgentUsersConnection>>;
7222
7851
  }
7223
7852
 
7224
7853
  /**
@@ -7351,6 +7980,16 @@ declare enum Disease {
7351
7980
  HeartRhythmAndConductionDisorders = "HEART_RHYTHM_AND_CONDUCTION_DISORDERS",
7352
7981
  ImmuneSystemDisorders = "IMMUNE_SYSTEM_DISORDERS"
7353
7982
  }
7983
+ /**
7984
+ * Consent type enumeration for customer data processing permissions.
7985
+ * Used to track customer consent for data privacy regulations (KVKK/GDPR).
7986
+ */
7987
+ declare enum ConsentType {
7988
+ /** KVKK (Personal Data Protection Law) consent */
7989
+ KVKK = "KVKK",
7990
+ /** ETK (Electronic Commerce) consent */
7991
+ ETK = "ETK"
7992
+ }
7354
7993
  /**
7355
7994
  * Represents a request to create a new customer in the InsurUp system. Supports individual, foreign, and company customer types with comprehensive customer information.
7356
7995
  *
@@ -7849,7 +8488,7 @@ interface GetCustomerResultBase {
7849
8488
  primaryPhoneNumber?: CustomerPhoneNumber | null;
7850
8489
  city?: InsuranceParameter | null;
7851
8490
  district?: InsuranceParameter | null;
7852
- createdAt: string;
8491
+ createdAt: DateTime;
7853
8492
  createdBy: UserReference;
7854
8493
  representedBy?: UserReference | null;
7855
8494
  }
@@ -7860,7 +8499,7 @@ interface GetCustomerResultIndividual extends GetCustomerResultBase {
7860
8499
  type: CustomerType.Individual;
7861
8500
  fullName?: string | null;
7862
8501
  identityNumber: number;
7863
- birthDate?: string | null;
8502
+ birthDate?: DateOnly | null;
7864
8503
  gender?: Gender | null;
7865
8504
  educationStatus?: EducationStatus | null;
7866
8505
  nationality?: Nationality | null;
@@ -7874,7 +8513,7 @@ interface GetCustomerResultForeign extends GetCustomerResultBase {
7874
8513
  type: CustomerType.Foreign;
7875
8514
  fullName?: string | null;
7876
8515
  identityNumber: string;
7877
- birthDate?: string | null;
8516
+ birthDate?: DateOnly | null;
7878
8517
  gender?: Gender | null;
7879
8518
  educationStatus?: EducationStatus | null;
7880
8519
  nationality?: Nationality | null;
@@ -7930,11 +8569,11 @@ interface GetCustomerContactFlowsResultItem {
7930
8569
  /** User who created this contact flow */
7931
8570
  readonly createdBy: UserReference;
7932
8571
  /** Timestamp when the flow was created */
7933
- readonly createdAt: string;
8572
+ readonly createdAt: DateTime;
7934
8573
  /** Current state of the contact flow */
7935
8574
  readonly state: ContactFlowState;
7936
8575
  /** Date when the flow ended (if applicable) */
7937
- readonly endedDate?: string | null;
8576
+ readonly endedDate?: DateTime | null;
7938
8577
  }
7939
8578
  /**
7940
8579
  * Base interface for customer contact interactions.
@@ -7950,13 +8589,13 @@ interface GetCustomerContactsResultItem {
7950
8589
  /** Customer ID associated with this contact */
7951
8590
  readonly customerId: string;
7952
8591
  /** Timestamp when the contact was created */
7953
- readonly createdAt: string;
8592
+ readonly createdAt: DateTime;
7954
8593
  /** Time when the contact attempt was made */
7955
- readonly attemptTime?: string | null;
8594
+ readonly attemptTime?: DateTime | null;
7956
8595
  /** Time when the contact started */
7957
- readonly startTime?: string | null;
8596
+ readonly startTime?: DateTime | null;
7958
8597
  /** Time when the contact was planned for */
7959
- readonly plannedTime?: string | null;
8598
+ readonly plannedTime?: DateTime | null;
7960
8599
  /** Optional flow ID if this contact belongs to a flow */
7961
8600
  readonly flowId?: string | null;
7962
8601
  /** Representative who handled this contact */
@@ -7970,7 +8609,7 @@ interface GetCustomerContactsResultItem {
7970
8609
  */
7971
8610
  interface PhoneCallContactResultItem extends GetCustomerContactsResultItem {
7972
8611
  /** Time when the call was hung up */
7973
- readonly hangUpTime?: string | null;
8612
+ readonly hangUpTime?: DateTime | null;
7974
8613
  }
7975
8614
  /**
7976
8615
  * Response containing external customer data retrieved from third-party sources.
@@ -7998,7 +8637,7 @@ interface ExternalLookupIndividualCustomerResult extends ExternalLookupCustomerR
7998
8637
  /** Marital status retrieved from official records */
7999
8638
  readonly maritalStatus?: MaritalStatus | null;
8000
8639
  /** Date of birth retrieved from official records */
8001
- readonly birthDate?: string | null;
8640
+ readonly birthDate?: DateOnly | null;
8002
8641
  }
8003
8642
  /**
8004
8643
  * External lookup response for foreign customers (non-Turkish citizens).
@@ -8016,7 +8655,7 @@ interface ExternalLookupForeignCustomerResult extends ExternalLookupCustomerResu
8016
8655
  /** Marital status retrieved from international records */
8017
8656
  readonly maritalStatus?: MaritalStatus | null;
8018
8657
  /** Date of birth retrieved from international sources */
8019
- readonly birthDate?: string | null;
8658
+ readonly birthDate?: DateOnly | null;
8020
8659
  }
8021
8660
  /**
8022
8661
  * External lookup response for company customers (corporate entities).
@@ -8104,6 +8743,103 @@ interface GetCustomerConsentsResult {
8104
8743
  readonly consentHistory: readonly ConsentHistoryItem[];
8105
8744
  }
8106
8745
 
8746
+ /**
8747
+ * @fileoverview Customer GraphQL Types
8748
+ * @description Types for querying customers via GraphQL
8749
+ */
8750
+
8751
+ interface CustomerAgentBranchInfo {
8752
+ id: string;
8753
+ name: string;
8754
+ parentId?: string | null;
8755
+ parentName?: string | null;
8756
+ }
8757
+ interface QueryCustomerConsentModel {
8758
+ consentType: ConsentType;
8759
+ isActive: boolean;
8760
+ }
8761
+ interface QueryCustomerModel {
8762
+ agentBranch?: CustomerAgentBranchInfo | null;
8763
+ agentBranchId?: string | null;
8764
+ id: string;
8765
+ name?: string | null;
8766
+ identityNumber?: string | null;
8767
+ taxNumber?: string | null;
8768
+ type: CustomerType;
8769
+ primaryEmail?: string | null;
8770
+ primaryPhoneNumber?: string | null;
8771
+ primaryPhoneNumberCountryCode?: number | null;
8772
+ cityText?: string | null;
8773
+ cityValue?: string | null;
8774
+ districtText?: string | null;
8775
+ districtValue?: string | null;
8776
+ createdAt: DateTime;
8777
+ birthDate?: DateOnly | null;
8778
+ gender?: Gender | null;
8779
+ educationStatus?: EducationStatus | null;
8780
+ nationality?: Nationality | null;
8781
+ maritalStatus?: MaritalStatus | null;
8782
+ job?: Job | null;
8783
+ passportNumber?: string | null;
8784
+ searchScore?: number | null;
8785
+ consents: QueryCustomerConsentModel[];
8786
+ }
8787
+ /**
8788
+ * Filter input for QueryCustomerModel.
8789
+ * Auto-generated from model fields using ModelFilterInput.
8790
+ */
8791
+ type QueryCustomerModelFilterInput = ModelFilterInput<QueryCustomerModel>;
8792
+ /**
8793
+ * Search input for QueryCustomerModel.
8794
+ * Auto-generated from model fields using ModelSearchInput.
8795
+ */
8796
+ type QueryCustomerModelSearchInput = ModelSearchInput<QueryCustomerModel>;
8797
+ /**
8798
+ * Sort input for QueryCustomerModel.
8799
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
8800
+ */
8801
+ interface QueryCustomerModelSortInput {
8802
+ name?: SortEnumType | null;
8803
+ createdAt?: SortEnumType | null;
8804
+ birthDate?: SortEnumType | null;
8805
+ searchScore?: SortEnumType | null;
8806
+ }
8807
+ type CustomersEdge = Edge<QueryCustomerModel>;
8808
+ type CustomersConnection = Connection<QueryCustomerModel>;
8809
+ /**
8810
+ * All available field keys for QueryCustomerModel with nested dot-notation paths.
8811
+ * - Primitive fields: "id", "name", etc. (as-is)
8812
+ * - Objects/Arrays: ONLY nested paths allowed, e.g. "agentBranch.id", "consents.consentType"
8813
+ * - Parent keys alone ("agentBranch", "consents") are NOT allowed
8814
+ */
8815
+ type CustomerFieldKey = DeepFieldKeys<QueryCustomerModel>;
8816
+ /**
8817
+ * Runtime array of all customer field keys including nested paths.
8818
+ */
8819
+ declare const ALL_CUSTOMER_FIELDS: readonly ["agentBranchId", "id", "name", "identityNumber", "taxNumber", "type", "primaryEmail", "primaryPhoneNumber", "primaryPhoneNumberCountryCode", "cityText", "cityValue", "districtText", "districtValue", "createdAt", "birthDate", "gender", "educationStatus", "nationality", "maritalStatus", "job", "passportNumber", "searchScore", "agentBranch.id", "agentBranch.name", "agentBranch.parentId", "agentBranch.parentName", "consents.consentType", "consents.isActive"];
8820
+ /**
8821
+ * Helper type to pick selected fields from QueryCustomerModel.
8822
+ * Uses the generic PickFields utility from common.ts.
8823
+ */
8824
+ type PickCustomerFields<T extends readonly CustomerFieldKey[]> = PickFields<QueryCustomerModel, T>;
8825
+ /**
8826
+ * Type-safe connection result based on selected fields
8827
+ */
8828
+ interface SelectedCustomersConnection<TFields extends CustomerFieldKey[]> extends Omit<CustomersConnection, "nodes" | "edges"> {
8829
+ nodes?: (PickCustomerFields<TFields> | null)[] | null;
8830
+ edges?: (Omit<CustomersEdge, "node"> & {
8831
+ node?: PickCustomerFields<TFields> | null;
8832
+ })[] | null;
8833
+ }
8834
+ /**
8835
+ * Options for getCustomers query.
8836
+ * Extends GetQueryOptions with customer-specific types.
8837
+ */
8838
+ interface GetCustomersOptions<TFields extends CustomerFieldKey[] = CustomerFieldKey[]> extends GetQueryOptions<CustomerFieldKey, QueryCustomerModelFilterInput, QueryCustomerModelSearchInput, QueryCustomerModelSortInput> {
8839
+ /** Fields to select from the query. If not provided, all fields are returned. */
8840
+ select?: TFields;
8841
+ }
8842
+
8107
8843
  /**
8108
8844
  * Customer management client for the InsurUp TypeScript SDK.
8109
8845
  */
@@ -8113,7 +8849,8 @@ interface GetCustomerConsentsResult {
8113
8849
  */
8114
8850
  declare class InsurUpCustomerClient {
8115
8851
  private readonly http;
8116
- constructor(http: HttpTransport);
8852
+ private readonly graphql?;
8853
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
8117
8854
  /**
8118
8855
  * Creates a new customer profile with essential personal and contact information.
8119
8856
  */
@@ -8287,6 +9024,31 @@ declare class InsurUpCustomerClient {
8287
9024
  * Performs external customer data lookup.
8288
9025
  */
8289
9026
  externalLookupCustomer(request: ExternalLookupCustomerRequest, options?: RequestOptions): Promise<InsurUpResult<ExternalLookupCustomerResult>>;
9027
+ /**
9028
+ * Retrieves a paginated list of customers using GraphQL with type-safe field selection.
9029
+ *
9030
+ * GraphQL kullanarak tip güvenli alan seçimi ile sayfalanmış müşteri listesi getirir.
9031
+ *
9032
+ * @example
9033
+ * // Get all fields
9034
+ * const result = await client.customers.getCustomers({ first: 10 });
9035
+ *
9036
+ * @example
9037
+ * // Type-safe field selection
9038
+ * const result = await client.customers.getCustomers({
9039
+ * select: ['id', 'name', 'type', 'primaryEmail'] as const,
9040
+ * first: 10,
9041
+ * filter: { type: { eq: CustomerType.INDIVIDUAL } }
9042
+ * });
9043
+ * // result.data.nodes[0].id - ✓ string
9044
+ * // result.data.nodes[0].name - ✓ string | null
9045
+ * // result.data.nodes[0].type - ✓ CustomerType
9046
+ * // result.data.nodes[0].birthDate - ✗ TypeScript Error!
9047
+ *
9048
+ * @param requestOptions Query options including pagination, filters, search, and field selection
9049
+ * @returns Paginated connection of customers with type-narrowed fields
9050
+ */
9051
+ getCustomers<const TFields extends CustomerFieldKey[]>(requestOptions?: GetCustomersOptions<TFields>): Promise<InsurUpResult<TFields extends readonly CustomerFieldKey[] ? SelectedCustomersConnection<TFields> : CustomersConnection>>;
8290
9052
  }
8291
9053
 
8292
9054
  /**
@@ -11768,6 +12530,289 @@ interface TransferredPolicy {
11768
12530
  readonly transferredPolicyId: string | null;
11769
12531
  }
11770
12532
 
12533
+ /**
12534
+ * @fileoverview Policy GraphQL Types
12535
+ * @description Types for querying policies via GraphQL
12536
+ */
12537
+
12538
+ interface PolicyAgentBranchInfo {
12539
+ id: string;
12540
+ name: string;
12541
+ parentId?: string | null;
12542
+ parentName?: string | null;
12543
+ }
12544
+ interface PolicyUserReference {
12545
+ id: string;
12546
+ name: string;
12547
+ email?: string | null;
12548
+ userType?: UserType | null;
12549
+ }
12550
+ declare enum UserType {
12551
+ None = "NONE",
12552
+ AdminPanel = "ADMIN_PANEL",
12553
+ Agent = "AGENT",
12554
+ Customer = "CUSTOMER"
12555
+ }
12556
+ interface QueryPoliciesResult {
12557
+ agentBranch?: PolicyAgentBranchInfo | null;
12558
+ agentBranchId?: string | null;
12559
+ id: string;
12560
+ insurerCustomerId: string;
12561
+ insuredCustomerId: string;
12562
+ installmentNumber?: number | null;
12563
+ productBranch: ProductBranch;
12564
+ netPremium?: number | null;
12565
+ grossPremium?: number | null;
12566
+ commission?: number | null;
12567
+ paymentType: PaymentOption;
12568
+ currency: Currency;
12569
+ insuranceCompanyProposalNumber: string;
12570
+ insuranceCompanyPolicyNumber: string;
12571
+ createdAt: DateTime;
12572
+ startDate: DateOnly;
12573
+ endDate: DateOnly;
12574
+ arrangementDate?: DateOnly | null;
12575
+ insuredCustomerName?: string | null;
12576
+ insuredCustomerIdentityNumber?: string | null;
12577
+ insuredCustomerTaxNumber?: string | null;
12578
+ insuredCustomerType: CustomerType;
12579
+ insuredCustomerCityText?: string | null;
12580
+ insuredCustomerCityValue?: string | null;
12581
+ insuredCustomerDistrictText?: string | null;
12582
+ insuredCustomerDistrictValue?: string | null;
12583
+ insuredCustomerBirthDate?: DateOnly | null;
12584
+ insurerCustomerName?: string | null;
12585
+ insurerCustomerIdentityNumber?: string | null;
12586
+ insurerCustomerTaxNumber?: string | null;
12587
+ insurerCustomerCityText?: string | null;
12588
+ insurerCustomerCityValue?: string | null;
12589
+ insurerCustomerDistrictText?: string | null;
12590
+ insurerCustomerDistrictValue?: string | null;
12591
+ insurerCustomerBirthDate?: DateOnly | null;
12592
+ vehiclePlateCode?: string | null;
12593
+ vehiclePlateCity?: number | null;
12594
+ vehicleDocumentSerialCode?: string | null;
12595
+ vehicleDocumentSerialNumber?: string | null;
12596
+ vehicleModelBrandText?: string | null;
12597
+ vehicleModelBrandValue?: string | null;
12598
+ vehicleModelTypeText?: string | null;
12599
+ vehicleModelTypeValue?: string | null;
12600
+ vehicleModelYear?: number | null;
12601
+ vehicleFuelType?: VehicleFuelType | null;
12602
+ productId?: number | null;
12603
+ productName?: string | null;
12604
+ insuranceCompanyId: number;
12605
+ insuranceCompanyName: string;
12606
+ insuranceCompanyLogo?: string | null;
12607
+ state: PolicyState;
12608
+ createdBy: PolicyUserReference;
12609
+ representedBy?: PolicyUserReference | null;
12610
+ propertyNumber?: number | null;
12611
+ daskOldPolicyNumber?: number | null;
12612
+ daskPolicyNumber?: string | null;
12613
+ vehicleId?: string | null;
12614
+ propertyId?: string | null;
12615
+ channel: Channel;
12616
+ campaign?: string | null;
12617
+ }
12618
+ /**
12619
+ * Filter input for QueryPoliciesResult.
12620
+ * Auto-generated from model fields using ModelFilterInput.
12621
+ */
12622
+ type QueryPoliciesResultFilterInput = ModelFilterInput<QueryPoliciesResult>;
12623
+ /**
12624
+ * Search input for QueryPoliciesResult.
12625
+ * Auto-generated from model fields using ModelSearchInput.
12626
+ */
12627
+ type QueryPoliciesResultSearchInput = ModelSearchInput<QueryPoliciesResult>;
12628
+ /**
12629
+ * Sort input for QueryPoliciesResult.
12630
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
12631
+ */
12632
+ interface QueryPoliciesResultSortInput {
12633
+ netPremium?: SortEnumType | null;
12634
+ grossPremium?: SortEnumType | null;
12635
+ createdAt?: SortEnumType | null;
12636
+ startDate?: SortEnumType | null;
12637
+ endDate?: SortEnumType | null;
12638
+ arrangementDate?: SortEnumType | null;
12639
+ vehicleModelYear?: SortEnumType | null;
12640
+ }
12641
+ type PoliciesEdge = Edge<QueryPoliciesResult>;
12642
+ type PoliciesConnection = Connection<QueryPoliciesResult>;
12643
+ /**
12644
+ * All available field keys for QueryPoliciesResult with nested dot-notation paths.
12645
+ */
12646
+ type PolicyFieldKey = DeepFieldKeys<QueryPoliciesResult>;
12647
+ /**
12648
+ * Runtime array of all policy field keys including nested paths.
12649
+ */
12650
+ declare const ALL_POLICY_FIELDS: readonly ["agentBranchId", "id", "insurerCustomerId", "insuredCustomerId", "installmentNumber", "productBranch", "netPremium", "grossPremium", "commission", "paymentType", "currency", "insuranceCompanyProposalNumber", "insuranceCompanyPolicyNumber", "createdAt", "startDate", "endDate", "arrangementDate", "insuredCustomerName", "insuredCustomerIdentityNumber", "insuredCustomerTaxNumber", "insuredCustomerType", "insuredCustomerCityText", "insuredCustomerCityValue", "insuredCustomerDistrictText", "insuredCustomerDistrictValue", "insuredCustomerBirthDate", "insurerCustomerName", "insurerCustomerIdentityNumber", "insurerCustomerTaxNumber", "insurerCustomerCityText", "insurerCustomerCityValue", "insurerCustomerDistrictText", "insurerCustomerDistrictValue", "insurerCustomerBirthDate", "vehiclePlateCode", "vehiclePlateCity", "vehicleDocumentSerialCode", "vehicleDocumentSerialNumber", "vehicleModelBrandText", "vehicleModelBrandValue", "vehicleModelTypeText", "vehicleModelTypeValue", "vehicleModelYear", "vehicleFuelType", "productId", "productName", "insuranceCompanyId", "insuranceCompanyName", "insuranceCompanyLogo", "state", "propertyNumber", "daskOldPolicyNumber", "daskPolicyNumber", "vehicleId", "propertyId", "channel", "campaign", "agentBranch.id", "agentBranch.name", "agentBranch.parentId", "agentBranch.parentName", "createdBy.id", "createdBy.name", "createdBy.email", "createdBy.userType", "representedBy.id", "representedBy.name", "representedBy.email", "representedBy.userType"];
12651
+ /**
12652
+ * Helper type to pick selected fields from QueryPoliciesResult.
12653
+ */
12654
+ type PickPolicyFields<T extends readonly PolicyFieldKey[]> = PickFields<QueryPoliciesResult, T>;
12655
+ /**
12656
+ * Type-safe connection result based on selected fields
12657
+ */
12658
+ interface SelectedPoliciesConnection<TFields extends PolicyFieldKey[]> extends Omit<PoliciesConnection, "nodes" | "edges"> {
12659
+ nodes?: (PickPolicyFields<TFields> | null)[] | null;
12660
+ edges?: (Omit<PoliciesEdge, "node"> & {
12661
+ node?: PickPolicyFields<TFields> | null;
12662
+ })[] | null;
12663
+ }
12664
+ /**
12665
+ * Options for getPolicies query.
12666
+ * Extends GetQueryOptions with policy-specific types.
12667
+ */
12668
+ interface GetPoliciesOptions<TFields extends PolicyFieldKey[] = PolicyFieldKey[]> extends GetQueryOptions<PolicyFieldKey, QueryPoliciesResultFilterInput, QueryPoliciesResultSearchInput, QueryPoliciesResultSortInput> {
12669
+ /** Fields to select from the query. If not provided, all fields are returned. */
12670
+ select?: TFields;
12671
+ }
12672
+
12673
+ /**
12674
+ * @fileoverview Policy Transfer GraphQL Types
12675
+ * @description Types for querying policy transfers via GraphQL
12676
+ */
12677
+
12678
+ interface QueryPolicyTransfersResult {
12679
+ id: string;
12680
+ startDate?: DateTime | null;
12681
+ endDate?: DateTime | null;
12682
+ insuranceCompanyCount: number;
12683
+ policyTransferTriggerCount: number;
12684
+ policyCount: number;
12685
+ }
12686
+ /**
12687
+ * Filter input for QueryPolicyTransfersResult.
12688
+ * Auto-generated from model fields using ModelFilterInput.
12689
+ */
12690
+ type QueryPolicyTransfersResultFilterInput = ModelFilterInput<QueryPolicyTransfersResult>;
12691
+ /**
12692
+ * Search input for QueryPolicyTransfersResult.
12693
+ * Auto-generated from model fields using ModelSearchInput.
12694
+ */
12695
+ type QueryPolicyTransfersResultSearchInput = ModelSearchInput<QueryPolicyTransfersResult>;
12696
+ /**
12697
+ * Sort input for QueryPolicyTransfersResult.
12698
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
12699
+ */
12700
+ interface QueryPolicyTransfersResultSortInput {
12701
+ startDate?: SortEnumType | null;
12702
+ endDate?: SortEnumType | null;
12703
+ insuranceCompanyCount?: SortEnumType | null;
12704
+ policyTransferTriggerCount?: SortEnumType | null;
12705
+ policyCount?: SortEnumType | null;
12706
+ }
12707
+ type PolicyTransfersEdge = Edge<QueryPolicyTransfersResult>;
12708
+ type PolicyTransfersConnection = Connection<QueryPolicyTransfersResult>;
12709
+ /**
12710
+ * All available field keys for QueryPolicyTransfersResult.
12711
+ */
12712
+ type PolicyTransferFieldKey = DeepFieldKeys<QueryPolicyTransfersResult>;
12713
+ /**
12714
+ * Runtime array of all policy transfer field keys.
12715
+ */
12716
+ declare const ALL_POLICY_TRANSFER_FIELDS: readonly ["id", "startDate", "endDate", "insuranceCompanyCount", "policyTransferTriggerCount", "policyCount"];
12717
+ /**
12718
+ * Helper type to pick selected fields from QueryPolicyTransfersResult.
12719
+ */
12720
+ type PickPolicyTransferFields<T extends readonly PolicyTransferFieldKey[]> = PickFields<QueryPolicyTransfersResult, T>;
12721
+ /**
12722
+ * Type-safe connection result based on selected fields
12723
+ */
12724
+ interface SelectedPolicyTransfersConnection<TFields extends PolicyTransferFieldKey[]> extends Omit<PolicyTransfersConnection, "nodes" | "edges"> {
12725
+ nodes?: (PickPolicyTransferFields<TFields> | null)[] | null;
12726
+ edges?: (Omit<PolicyTransfersEdge, "node"> & {
12727
+ node?: PickPolicyTransferFields<TFields> | null;
12728
+ })[] | null;
12729
+ }
12730
+ /**
12731
+ * Options for getPolicyTransfers query.
12732
+ * Extends GetQueryOptions with policy transfer-specific types.
12733
+ */
12734
+ interface GetPolicyTransfersOptions<TFields extends PolicyTransferFieldKey[] = PolicyTransferFieldKey[]> extends GetQueryOptions<PolicyTransferFieldKey, QueryPolicyTransfersResultFilterInput, QueryPolicyTransfersResultSearchInput, QueryPolicyTransfersResultSortInput> {
12735
+ /** Fields to select from the query. If not provided, all fields are returned. */
12736
+ select?: TFields;
12737
+ }
12738
+
12739
+ /**
12740
+ * @fileoverview File Policy Transfer GraphQL Types
12741
+ * @description Types for querying file policy transfers via GraphQL
12742
+ */
12743
+
12744
+ interface FilePolicyTransferUserReference {
12745
+ id: string;
12746
+ name: string;
12747
+ email?: string | null;
12748
+ userType?: UserType | null;
12749
+ }
12750
+ interface QueryFilePolicyTransfersResult {
12751
+ id: string;
12752
+ insuranceCompanyId: number;
12753
+ insuranceCompanyName?: string | null;
12754
+ insuranceCompanyLogo?: string | null;
12755
+ fileName?: string | null;
12756
+ fileUrl?: string | null;
12757
+ createdAt: DateTime;
12758
+ createdBy: FilePolicyTransferUserReference;
12759
+ totalPolicyCount?: number | null;
12760
+ completedPolicyCount?: number | null;
12761
+ failedPolicyCount?: number | null;
12762
+ }
12763
+ /**
12764
+ * Filter input for QueryFilePolicyTransfersResult.
12765
+ * Auto-generated from model fields using ModelFilterInput.
12766
+ */
12767
+ type QueryFilePolicyTransfersResultFilterInput = ModelFilterInput<QueryFilePolicyTransfersResult>;
12768
+ /**
12769
+ * Search input for QueryFilePolicyTransfersResult.
12770
+ * Auto-generated from model fields using ModelSearchInput.
12771
+ */
12772
+ type QueryFilePolicyTransfersResultSearchInput = ModelSearchInput<QueryFilePolicyTransfersResult>;
12773
+ /**
12774
+ * Sort input for QueryFilePolicyTransfersResult.
12775
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
12776
+ */
12777
+ interface QueryFilePolicyTransfersResultSortInput {
12778
+ createdAt?: SortEnumType | null;
12779
+ insuranceCompanyId?: SortEnumType | null;
12780
+ totalPolicyCount?: SortEnumType | null;
12781
+ completedPolicyCount?: SortEnumType | null;
12782
+ failedPolicyCount?: SortEnumType | null;
12783
+ }
12784
+ type FilePolicyTransfersEdge = Edge<QueryFilePolicyTransfersResult>;
12785
+ type FilePolicyTransfersConnection = Connection<QueryFilePolicyTransfersResult>;
12786
+ /**
12787
+ * All available field keys for QueryFilePolicyTransfersResult with nested dot-notation paths.
12788
+ */
12789
+ type FilePolicyTransferFieldKey = DeepFieldKeys<QueryFilePolicyTransfersResult>;
12790
+ /**
12791
+ * Runtime array of all file policy transfer field keys including nested paths.
12792
+ */
12793
+ declare const ALL_FILE_POLICY_TRANSFER_FIELDS: readonly ["id", "insuranceCompanyId", "insuranceCompanyName", "insuranceCompanyLogo", "fileName", "fileUrl", "createdAt", "totalPolicyCount", "completedPolicyCount", "failedPolicyCount", "createdBy.id", "createdBy.name", "createdBy.email", "createdBy.userType"];
12794
+ /**
12795
+ * Helper type to pick selected fields from QueryFilePolicyTransfersResult.
12796
+ */
12797
+ type PickFilePolicyTransferFields<T extends readonly FilePolicyTransferFieldKey[]> = PickFields<QueryFilePolicyTransfersResult, T>;
12798
+ /**
12799
+ * Type-safe connection result based on selected fields
12800
+ */
12801
+ interface SelectedFilePolicyTransfersConnection<TFields extends FilePolicyTransferFieldKey[]> extends Omit<FilePolicyTransfersConnection, "nodes" | "edges"> {
12802
+ nodes?: (PickFilePolicyTransferFields<TFields> | null)[] | null;
12803
+ edges?: (Omit<FilePolicyTransfersEdge, "node"> & {
12804
+ node?: PickFilePolicyTransferFields<TFields> | null;
12805
+ })[] | null;
12806
+ }
12807
+ /**
12808
+ * Options for getFilePolicyTransfers query.
12809
+ * Extends GetQueryOptions with file policy transfer-specific types.
12810
+ */
12811
+ interface GetFilePolicyTransfersOptions<TFields extends FilePolicyTransferFieldKey[] = FilePolicyTransferFieldKey[]> extends GetQueryOptions<FilePolicyTransferFieldKey, QueryFilePolicyTransfersResultFilterInput, QueryFilePolicyTransfersResultSearchInput, QueryFilePolicyTransfersResultSortInput> {
12812
+ /** Fields to select from the query. If not provided, all fields are returned. */
12813
+ select?: TFields;
12814
+ }
12815
+
11771
12816
  /**
11772
12817
  * @fileoverview Policy Management Client - Comprehensive policy operations
11773
12818
  * @description Provides comprehensive policy management operations for handling active insurance policies,
@@ -11791,7 +12836,8 @@ interface TransferredPolicy {
11791
12836
  */
11792
12837
  declare class InsurUpPolicyClient {
11793
12838
  private readonly http;
11794
- constructor(http: HttpTransport);
12839
+ private readonly graphql?;
12840
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
11795
12841
  /**
11796
12842
  * Retrieves comprehensive details of a specific policy including coverage information, premium details, and current status.
11797
12843
  *
@@ -11955,6 +13001,218 @@ declare class InsurUpPolicyClient {
11955
13001
  * @returns File transfer details
11956
13002
  */
11957
13003
  getFilePolicyTransferDetail(request: GetFilePolicyTransferDetailRequest, options?: RequestOptions): Promise<InsurUpResult<GetFilePolicyTransferDetailResult>>;
13004
+ /**
13005
+ * Queries policies using GraphQL with advanced filtering, searching, sorting, and field selection.
13006
+ * Supports cursor-based pagination and type-safe field selection.
13007
+ *
13008
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak poliçeleri sorgular.
13009
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
13010
+ *
13011
+ * @example
13012
+ * // Basic query with all fields
13013
+ * const result = await client.policies.getPolicies({ first: 10 });
13014
+ *
13015
+ * @example
13016
+ * // Type-safe field selection
13017
+ * const result = await client.policies.getPolicies({
13018
+ * select: ['id', 'productBranch', 'grossPremium', 'state'] as const,
13019
+ * first: 10,
13020
+ * filter: { state: { eq: PolicyState.Active } }
13021
+ * });
13022
+ *
13023
+ * @param requestOptions Query options including pagination, filters, search, and field selection
13024
+ * @returns Paginated connection of policies with type-narrowed fields
13025
+ */
13026
+ getPolicies<const TFields extends PolicyFieldKey[]>(requestOptions?: GetPoliciesOptions<TFields>): Promise<InsurUpResult<TFields extends readonly PolicyFieldKey[] ? SelectedPoliciesConnection<TFields> : PoliciesConnection>>;
13027
+ /**
13028
+ * Queries policy transfers using GraphQL with advanced filtering, searching, sorting, and field selection.
13029
+ * Supports cursor-based pagination and type-safe field selection.
13030
+ *
13031
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak poliçe transferlerini sorgular.
13032
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
13033
+ *
13034
+ * @example
13035
+ * // Basic query with all fields
13036
+ * const result = await client.policies.getPolicyTransfers({ first: 10 });
13037
+ *
13038
+ * @param requestOptions Query options including pagination, filters, search, and field selection
13039
+ * @returns Paginated connection of policy transfers with type-narrowed fields
13040
+ */
13041
+ getPolicyTransfers<const TFields extends PolicyTransferFieldKey[]>(requestOptions?: GetPolicyTransfersOptions<TFields>): Promise<InsurUpResult<TFields extends readonly PolicyTransferFieldKey[] ? SelectedPolicyTransfersConnection<TFields> : PolicyTransfersConnection>>;
13042
+ /**
13043
+ * Queries file policy transfers using GraphQL with advanced filtering, searching, sorting, and field selection.
13044
+ * Supports cursor-based pagination and type-safe field selection.
13045
+ *
13046
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak dosya bazlı poliçe transferlerini sorgular.
13047
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
13048
+ *
13049
+ * @example
13050
+ * // Basic query with all fields
13051
+ * const result = await client.policies.getFilePolicyTransfers({ first: 10 });
13052
+ *
13053
+ * @param requestOptions Query options including pagination, filters, search, and field selection
13054
+ * @returns Paginated connection of file policy transfers with type-narrowed fields
13055
+ */
13056
+ getFilePolicyTransfers<const TFields extends FilePolicyTransferFieldKey[]>(requestOptions?: GetFilePolicyTransfersOptions<TFields>): Promise<InsurUpResult<TFields extends readonly FilePolicyTransferFieldKey[] ? SelectedFilePolicyTransfersConnection<TFields> : FilePolicyTransfersConnection>>;
13057
+ }
13058
+
13059
+ /**
13060
+ * @fileoverview Case GraphQL Types
13061
+ * @description Types for querying cases via GraphQL
13062
+ */
13063
+
13064
+ interface CaseAgentBranchInfo {
13065
+ id: string;
13066
+ name: string;
13067
+ parentId?: string | null;
13068
+ parentName?: string | null;
13069
+ }
13070
+ interface PriorityRuleHit {
13071
+ label: string;
13072
+ description: string;
13073
+ ruleName?: string | null;
13074
+ score: number;
13075
+ }
13076
+ interface QueryCaseModel {
13077
+ agentBranch?: CaseAgentBranchInfo | null;
13078
+ agentBranchId?: string | null;
13079
+ id: string;
13080
+ ref: string;
13081
+ type: CaseType;
13082
+ status: CaseStatus;
13083
+ cancelSubType?: CancelCaseSubType | null;
13084
+ saleOpportunitySubType?: SaleOpportunityCaseSubType | null;
13085
+ endorsementSubType?: EndorsementCaseSubType | null;
13086
+ complaintSubType?: ComplaintCaseSubType | null;
13087
+ mainState: CaseMainState;
13088
+ subState: CaseSubState;
13089
+ productBranch?: ProductBranch | null;
13090
+ channel?: Channel | null;
13091
+ createdAt: DateTime;
13092
+ createdByName: string;
13093
+ createdById: string;
13094
+ createdByEmail?: string | null;
13095
+ createdByType?: UserType | null;
13096
+ representedByName?: string | null;
13097
+ representedById?: string | null;
13098
+ representedByEmail?: string | null;
13099
+ representedByType?: UserType | null;
13100
+ policyEndDate?: DateOnly | null;
13101
+ assetType?: AssetType | null;
13102
+ assetId?: string | null;
13103
+ sourceCaseId?: string | null;
13104
+ policyCount: number;
13105
+ proposalCount: number;
13106
+ lastProposalDate?: DateTime | null;
13107
+ lastPolicyDate?: DateTime | null;
13108
+ lastUpdateDate?: DateTime | null;
13109
+ lastUpdatedByName?: string | null;
13110
+ lastUpdatedById?: string | null;
13111
+ lastUpdatedByEmail?: string | null;
13112
+ lastUpdatedByType?: UserType | null;
13113
+ priorityScore?: number | null;
13114
+ priorityRuleHits?: PriorityRuleHit[] | null;
13115
+ customerId?: string | null;
13116
+ customerName?: string | null;
13117
+ customerType?: CustomerType | null;
13118
+ customerIdentity?: string | null;
13119
+ customerCityText?: string | null;
13120
+ customerCityValue?: string | null;
13121
+ customerDistrictText?: string | null;
13122
+ customerDistrictValue?: string | null;
13123
+ customerPrimaryPhoneNumber?: string | null;
13124
+ customerPrimaryPhoneCountryCode?: number | null;
13125
+ customerPrimaryEmail?: string | null;
13126
+ customerBirthDate?: DateOnly | null;
13127
+ customerPassportNumber?: string | null;
13128
+ customerJob?: Job | null;
13129
+ vehiclePlateCode?: string | null;
13130
+ vehiclePlateCity?: number | null;
13131
+ vehicleModelBrandText?: string | null;
13132
+ vehicleModelBrandValue?: string | null;
13133
+ vehicleModelTypeText?: string | null;
13134
+ vehicleModelTypeValue?: string | null;
13135
+ vehicleModelYear?: number | null;
13136
+ vehicleUtilizationStyle?: VehicleUtilizationStyle | null;
13137
+ vehicleEngineNumber?: string | null;
13138
+ vehicleChassisNumber?: string | null;
13139
+ vehicleRegistrationDate?: DateOnly | null;
13140
+ vehicleFuelType?: VehicleFuelType | null;
13141
+ vehicleSeatNumber?: number | null;
13142
+ vehicleDocumentSerialCode?: string | null;
13143
+ vehicleDocumentSerialNumber?: string | null;
13144
+ propertyNumber?: number | null;
13145
+ propertySquareMeter?: number | null;
13146
+ propertyConstructionYear?: number | null;
13147
+ propertyDamageStatus?: PropertyDamageStatus | null;
13148
+ propertyFloorNumber?: number | null;
13149
+ propertyStructure?: PropertyStructure | null;
13150
+ propertyUtilizationStyle?: PropertyUtilizationStyle | null;
13151
+ propertyOwnershipType?: PropertyOwnershipType | null;
13152
+ propertyDaskPolicyNumber?: string | null;
13153
+ advertisingSource?: string | null;
13154
+ advertisingCampaign?: string | null;
13155
+ searchScore?: number | null;
13156
+ }
13157
+ /**
13158
+ * Filter input for QueryCaseModel.
13159
+ * Auto-generated from model fields using ModelFilterInput.
13160
+ */
13161
+ type QueryCaseModelFilterInput = ModelFilterInput<QueryCaseModel>;
13162
+ /**
13163
+ * Search input for QueryCaseModel.
13164
+ * Auto-generated from model fields using ModelSearchInput.
13165
+ */
13166
+ type QueryCaseModelSearchInput = ModelSearchInput<QueryCaseModel>;
13167
+ /**
13168
+ * Sort input for QueryCaseModel.
13169
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
13170
+ */
13171
+ interface QueryCaseModelSortInput {
13172
+ createdAt?: SortEnumType | null;
13173
+ policyEndDate?: SortEnumType | null;
13174
+ policyCount?: SortEnumType | null;
13175
+ proposalCount?: SortEnumType | null;
13176
+ lastProposalDate?: SortEnumType | null;
13177
+ lastPolicyDate?: SortEnumType | null;
13178
+ lastUpdateDate?: SortEnumType | null;
13179
+ priorityScore?: SortEnumType | null;
13180
+ customerBirthDate?: SortEnumType | null;
13181
+ vehicleModelYear?: SortEnumType | null;
13182
+ vehicleRegistrationDate?: SortEnumType | null;
13183
+ propertyConstructionYear?: SortEnumType | null;
13184
+ searchScore?: SortEnumType | null;
13185
+ }
13186
+ type CasesEdge = Edge<QueryCaseModel>;
13187
+ type CasesConnection = Connection<QueryCaseModel>;
13188
+ /**
13189
+ * All available field keys for QueryCaseModel with nested dot-notation paths.
13190
+ */
13191
+ type CaseFieldKey = DeepFieldKeys<QueryCaseModel>;
13192
+ /**
13193
+ * Runtime array of all case field keys including nested paths.
13194
+ */
13195
+ declare const ALL_CASE_FIELDS: readonly ["agentBranchId", "id", "ref", "type", "status", "cancelSubType", "saleOpportunitySubType", "endorsementSubType", "complaintSubType", "mainState", "subState", "productBranch", "channel", "createdAt", "createdByName", "createdById", "createdByEmail", "createdByType", "representedByName", "representedById", "representedByEmail", "representedByType", "policyEndDate", "assetType", "assetId", "sourceCaseId", "policyCount", "proposalCount", "lastProposalDate", "lastPolicyDate", "lastUpdateDate", "lastUpdatedByName", "lastUpdatedById", "lastUpdatedByEmail", "lastUpdatedByType", "priorityScore", "customerId", "customerName", "customerType", "customerIdentity", "customerCityText", "customerCityValue", "customerDistrictText", "customerDistrictValue", "customerPrimaryPhoneNumber", "customerPrimaryPhoneCountryCode", "customerPrimaryEmail", "customerBirthDate", "customerPassportNumber", "customerJob", "vehiclePlateCode", "vehiclePlateCity", "vehicleModelBrandText", "vehicleModelBrandValue", "vehicleModelTypeText", "vehicleModelTypeValue", "vehicleModelYear", "vehicleUtilizationStyle", "vehicleEngineNumber", "vehicleChassisNumber", "vehicleRegistrationDate", "vehicleFuelType", "vehicleSeatNumber", "vehicleDocumentSerialCode", "vehicleDocumentSerialNumber", "propertyNumber", "propertySquareMeter", "propertyConstructionYear", "propertyDamageStatus", "propertyFloorNumber", "propertyStructure", "propertyUtilizationStyle", "propertyOwnershipType", "propertyDaskPolicyNumber", "advertisingSource", "advertisingCampaign", "searchScore", "agentBranch.id", "agentBranch.name", "agentBranch.parentId", "agentBranch.parentName", "priorityRuleHits.label", "priorityRuleHits.description", "priorityRuleHits.ruleName", "priorityRuleHits.score"];
13196
+ /**
13197
+ * Helper type to pick selected fields from QueryCaseModel.
13198
+ */
13199
+ type PickCaseFields<T extends readonly CaseFieldKey[]> = PickFields<QueryCaseModel, T>;
13200
+ /**
13201
+ * Type-safe connection result based on selected fields
13202
+ */
13203
+ interface SelectedCasesConnection<TFields extends CaseFieldKey[]> extends Omit<CasesConnection, "nodes" | "edges"> {
13204
+ nodes?: (PickCaseFields<TFields> | null)[] | null;
13205
+ edges?: (Omit<CasesEdge, "node"> & {
13206
+ node?: PickCaseFields<TFields> | null;
13207
+ })[] | null;
13208
+ }
13209
+ /**
13210
+ * Options for getCases query.
13211
+ * Extends GetQueryOptions with case-specific types.
13212
+ */
13213
+ interface GetCasesOptions<TFields extends CaseFieldKey[] = CaseFieldKey[]> extends GetQueryOptions<CaseFieldKey, QueryCaseModelFilterInput, QueryCaseModelSearchInput, QueryCaseModelSortInput> {
13214
+ /** Fields to select from the query. If not provided, all fields are returned. */
13215
+ select?: TFields;
11958
13216
  }
11959
13217
 
11960
13218
  /**
@@ -11979,7 +13237,8 @@ declare class InsurUpPolicyClient {
11979
13237
  */
11980
13238
  declare class InsurUpCaseClient {
11981
13239
  private readonly http;
11982
- constructor(http: HttpTransport);
13240
+ private readonly graphql?;
13241
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
11983
13242
  /**
11984
13243
  * Assigns a case representative to handle a specific customer case, ensuring proper ownership and accountability.
11985
13244
  *
@@ -12158,6 +13417,29 @@ declare class InsurUpCaseClient {
12158
13417
  * @returns Available case priority templates / Mevcut talep öncelik şablonları
12159
13418
  */
12160
13419
  getCasePriorityTemplates(options?: RequestOptions): Promise<InsurUpResult<GetCasePriorityTemplatesResult>>;
13420
+ /**
13421
+ * Queries cases using GraphQL with advanced filtering, searching, sorting, and field selection.
13422
+ * Supports cursor-based pagination and type-safe field selection.
13423
+ *
13424
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak talepleri sorgular.
13425
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
13426
+ *
13427
+ * @example
13428
+ * // Basic query with all fields
13429
+ * const result = await client.cases.getCases({ first: 10 });
13430
+ *
13431
+ * @example
13432
+ * // Type-safe field selection
13433
+ * const result = await client.cases.getCases({
13434
+ * select: ['id', 'ref', 'type', 'status', 'mainState'] as const,
13435
+ * first: 10,
13436
+ * filter: { type: { eq: CaseType.NewSaleOpportunity } }
13437
+ * });
13438
+ *
13439
+ * @param requestOptions Query options including pagination, filters, search, and field selection
13440
+ * @returns Paginated connection of cases with type-narrowed fields
13441
+ */
13442
+ getCases<const TFields extends CaseFieldKey[]>(requestOptions?: GetCasesOptions<TFields>): Promise<InsurUpResult<TFields extends readonly CaseFieldKey[] ? SelectedCasesConnection<TFields> : CasesConnection>>;
12161
13443
  }
12162
13444
 
12163
13445
  /**
@@ -12526,6 +13808,85 @@ interface GetWebhookDeliveryResult {
12526
13808
  readonly isSuccess: boolean;
12527
13809
  }
12528
13810
 
13811
+ /**
13812
+ * @fileoverview Webhook Delivery GraphQL Types
13813
+ * @description Types for querying webhook deliveries via GraphQL
13814
+ */
13815
+
13816
+ /**
13817
+ * Webhook Delivery State
13818
+ * Represents the current status of a webhook delivery attempt
13819
+ */
13820
+ declare enum WebhookDeliveryState {
13821
+ Pending = "PENDING",
13822
+ Success = "SUCCESS",
13823
+ Failed = "FAILED"
13824
+ }
13825
+ interface QueryWebhookDeliveryResult {
13826
+ id: string;
13827
+ webhookId: string;
13828
+ webhookName?: string | null;
13829
+ event: WebhookEvent;
13830
+ state: WebhookDeliveryState;
13831
+ responseStatusCode?: number | null;
13832
+ createdAt: DateTime;
13833
+ completedAt?: DateTime | null;
13834
+ retryCount: number;
13835
+ }
13836
+ /**
13837
+ * Filter input for QueryWebhookDeliveryResult.
13838
+ * Auto-generated from model fields using ModelFilterInput.
13839
+ */
13840
+ type QueryWebhookDeliveryResultFilterInput = ModelFilterInput<QueryWebhookDeliveryResult>;
13841
+ /**
13842
+ * Search input for QueryWebhookDeliveryResult.
13843
+ * Auto-generated from model fields using ModelSearchInput.
13844
+ */
13845
+ type QueryWebhookDeliveryResultSearchInput = ModelSearchInput<QueryWebhookDeliveryResult>;
13846
+ /**
13847
+ * Sort input for QueryWebhookDeliveryResult.
13848
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
13849
+ */
13850
+ interface QueryWebhookDeliveryResultSortInput {
13851
+ event?: SortEnumType | null;
13852
+ state?: SortEnumType | null;
13853
+ responseStatusCode?: SortEnumType | null;
13854
+ createdAt?: SortEnumType | null;
13855
+ completedAt?: SortEnumType | null;
13856
+ retryCount?: SortEnumType | null;
13857
+ }
13858
+ type WebhookDeliveriesEdge = Edge<QueryWebhookDeliveryResult>;
13859
+ type WebhookDeliveriesConnection = Connection<QueryWebhookDeliveryResult>;
13860
+ /**
13861
+ * All available field keys for QueryWebhookDeliveryResult.
13862
+ */
13863
+ type WebhookDeliveryFieldKey = DeepFieldKeys<QueryWebhookDeliveryResult>;
13864
+ /**
13865
+ * Runtime array of all webhook delivery field keys.
13866
+ */
13867
+ declare const ALL_WEBHOOK_DELIVERY_FIELDS: readonly ["id", "webhookId", "webhookName", "event", "state", "responseStatusCode", "createdAt", "completedAt", "retryCount"];
13868
+ /**
13869
+ * Helper type to pick selected fields from QueryWebhookDeliveryResult.
13870
+ */
13871
+ type PickWebhookDeliveryFields<T extends readonly WebhookDeliveryFieldKey[]> = PickFields<QueryWebhookDeliveryResult, T>;
13872
+ /**
13873
+ * Type-safe connection result based on selected fields
13874
+ */
13875
+ interface SelectedWebhookDeliveriesConnection<TFields extends WebhookDeliveryFieldKey[]> extends Omit<WebhookDeliveriesConnection, "nodes" | "edges"> {
13876
+ nodes?: (PickWebhookDeliveryFields<TFields> | null)[] | null;
13877
+ edges?: (Omit<WebhookDeliveriesEdge, "node"> & {
13878
+ node?: PickWebhookDeliveryFields<TFields> | null;
13879
+ })[] | null;
13880
+ }
13881
+ /**
13882
+ * Options for getWebhookDeliveries query.
13883
+ * Extends GetQueryOptions with webhook delivery-specific types.
13884
+ */
13885
+ interface GetWebhookDeliveriesOptions<TFields extends WebhookDeliveryFieldKey[] = WebhookDeliveryFieldKey[]> extends GetQueryOptions<WebhookDeliveryFieldKey, QueryWebhookDeliveryResultFilterInput, QueryWebhookDeliveryResultSearchInput, QueryWebhookDeliveryResultSortInput> {
13886
+ /** Fields to select from the query. If not provided, all fields are returned. */
13887
+ select?: TFields;
13888
+ }
13889
+
12529
13890
  /**
12530
13891
  * Provides comprehensive webhook management operations for configuring event notifications, monitoring delivery status,
12531
13892
  * and managing external system integrations within the InsurUp platform ecosystem.
@@ -12535,7 +13896,8 @@ interface GetWebhookDeliveryResult {
12535
13896
  */
12536
13897
  declare class InsurUpWebhookClient {
12537
13898
  private readonly http;
12538
- constructor(http: HttpTransport);
13899
+ private readonly graphql?;
13900
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
12539
13901
  /**
12540
13902
  * Creates a new webhook configuration to receive event notifications from the InsurUp platform.
12541
13903
  *
@@ -12600,6 +13962,29 @@ declare class InsurUpWebhookClient {
12600
13962
  * @returns Operation result / İşlem sonucu
12601
13963
  */
12602
13964
  redeliverWebhookEvent(webhookId: string, webhookDeliveryId: string, options?: RequestOptions): Promise<InsurUpResult>;
13965
+ /**
13966
+ * Queries webhook deliveries using GraphQL with advanced filtering, searching, sorting, and field selection.
13967
+ * Supports cursor-based pagination and type-safe field selection.
13968
+ *
13969
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak webhook teslimatlarını sorgular.
13970
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
13971
+ *
13972
+ * @example
13973
+ * // Basic query with all fields
13974
+ * const result = await client.webhooks.getWebhookDeliveries({ first: 10 });
13975
+ *
13976
+ * @example
13977
+ * // Type-safe field selection with filter
13978
+ * const result = await client.webhooks.getWebhookDeliveries({
13979
+ * select: ['id', 'webhookId', 'event', 'state'] as const,
13980
+ * first: 10,
13981
+ * filter: { state: { eq: WebhookDeliveryState.Failed } }
13982
+ * });
13983
+ *
13984
+ * @param requestOptions Query options including pagination, filters, search, and field selection
13985
+ * @returns Paginated connection of webhook deliveries with type-narrowed fields
13986
+ */
13987
+ getWebhookDeliveries<const TFields extends WebhookDeliveryFieldKey[]>(requestOptions?: GetWebhookDeliveriesOptions<TFields>): Promise<InsurUpResult<TFields extends readonly WebhookDeliveryFieldKey[] ? SelectedWebhookDeliveriesConnection<TFields> : WebhookDeliveriesConnection>>;
12603
13988
  }
12604
13989
 
12605
13990
  /**
@@ -13868,6 +15253,115 @@ interface FinancialInstitution {
13868
15253
  readonly name: string;
13869
15254
  }
13870
15255
 
15256
+ /**
15257
+ * @fileoverview Proposal GraphQL Types
15258
+ * @description Types for querying proposals via GraphQL
15259
+ */
15260
+
15261
+ interface ProposalAgentBranchInfo {
15262
+ id: string;
15263
+ name: string;
15264
+ parentId?: string | null;
15265
+ parentName?: string | null;
15266
+ }
15267
+ interface ProposalUserReference {
15268
+ id: string;
15269
+ name: string;
15270
+ email?: string | null;
15271
+ userType?: UserType | null;
15272
+ }
15273
+ interface QueryProposalsResult {
15274
+ agentBranch?: ProposalAgentBranchInfo | null;
15275
+ agentBranchId?: string | null;
15276
+ id: string;
15277
+ productBranch: ProductBranch;
15278
+ state: ProposalState;
15279
+ insurerCustomerId: string;
15280
+ insuredCustomerId: string;
15281
+ productsCount: number;
15282
+ succeedProductsCount: number;
15283
+ createdAt: DateTime;
15284
+ agentUserCreatedBy: ProposalUserReference;
15285
+ successRate: number;
15286
+ insuredCustomerName: string;
15287
+ insuredCustomerIdentityNumber?: string | null;
15288
+ insuredCustomerTaxNumber?: string | null;
15289
+ insuredCustomerType: CustomerType;
15290
+ lowestPremium?: number | null;
15291
+ highestPremium?: number | null;
15292
+ channel: Channel;
15293
+ insuredCustomerCityText?: string | null;
15294
+ insuredCustomerCityValue?: string | null;
15295
+ insuredCustomerDistrictText?: string | null;
15296
+ insuredCustomerDistrictValue?: string | null;
15297
+ insuredCustomerPhoneNumber?: string | null;
15298
+ insuredCustomerPhoneNumberCountryCode?: number | null;
15299
+ insuredCustomerEmail?: string | null;
15300
+ vehiclePlateCode?: string | null;
15301
+ vehiclePlateCity?: number | null;
15302
+ vehicleDocumentSerialCode?: string | null;
15303
+ vehicleDocumentSerialNumber?: string | null;
15304
+ vehicleModelBrandText?: string | null;
15305
+ vehicleModelBrandValue?: string | null;
15306
+ vehicleModelTypeText?: string | null;
15307
+ vehicleModelTypeValue?: string | null;
15308
+ vehicleModelYear?: number | null;
15309
+ vehicleFuelType?: VehicleFuelType | null;
15310
+ utilizationStyle?: VehicleUtilizationStyle | null;
15311
+ insuredCustomerBirthDate?: DateOnly | null;
15312
+ vehicleId?: string | null;
15313
+ propertyId?: string | null;
15314
+ }
15315
+ /**
15316
+ * Filter input for QueryProposalsResult.
15317
+ * Auto-generated from model fields using ModelFilterInput.
15318
+ */
15319
+ type QueryProposalsResultFilterInput = ModelFilterInput<QueryProposalsResult>;
15320
+ /**
15321
+ * Search input for QueryProposalsResult.
15322
+ * Auto-generated from model fields using ModelSearchInput.
15323
+ */
15324
+ type QueryProposalsResultSearchInput = ModelSearchInput<QueryProposalsResult>;
15325
+ /**
15326
+ * Sort input for QueryProposalsResult.
15327
+ * Note: Sort fields are explicitly defined as they may differ from model fields.
15328
+ */
15329
+ interface QueryProposalsResultSortInput {
15330
+ createdAt?: SortEnumType | null;
15331
+ vehicleModelYear?: SortEnumType | null;
15332
+ }
15333
+ type ProposalsEdge = Edge<QueryProposalsResult>;
15334
+ type ProposalsConnection = Connection<QueryProposalsResult>;
15335
+ /**
15336
+ * All available field keys for QueryProposalsResult with nested dot-notation paths.
15337
+ */
15338
+ type ProposalFieldKey = DeepFieldKeys<QueryProposalsResult>;
15339
+ /**
15340
+ * Runtime array of all proposal field keys including nested paths.
15341
+ */
15342
+ declare const ALL_PROPOSAL_FIELDS: readonly ["agentBranchId", "id", "productBranch", "state", "insurerCustomerId", "insuredCustomerId", "productsCount", "succeedProductsCount", "createdAt", "successRate", "insuredCustomerName", "insuredCustomerIdentityNumber", "insuredCustomerTaxNumber", "insuredCustomerType", "lowestPremium", "highestPremium", "channel", "insuredCustomerCityText", "insuredCustomerCityValue", "insuredCustomerDistrictText", "insuredCustomerDistrictValue", "insuredCustomerPhoneNumber", "insuredCustomerPhoneNumberCountryCode", "insuredCustomerEmail", "vehiclePlateCode", "vehiclePlateCity", "vehicleDocumentSerialCode", "vehicleDocumentSerialNumber", "vehicleModelBrandText", "vehicleModelBrandValue", "vehicleModelTypeText", "vehicleModelTypeValue", "vehicleModelYear", "vehicleFuelType", "utilizationStyle", "insuredCustomerBirthDate", "vehicleId", "propertyId", "agentBranch.id", "agentBranch.name", "agentBranch.parentId", "agentBranch.parentName", "agentUserCreatedBy.id", "agentUserCreatedBy.name", "agentUserCreatedBy.email", "agentUserCreatedBy.userType"];
15343
+ /**
15344
+ * Helper type to pick selected fields from QueryProposalsResult.
15345
+ */
15346
+ type PickProposalFields<T extends readonly ProposalFieldKey[]> = PickFields<QueryProposalsResult, T>;
15347
+ /**
15348
+ * Type-safe connection result based on selected fields
15349
+ */
15350
+ interface SelectedProposalsConnection<TFields extends ProposalFieldKey[]> extends Omit<ProposalsConnection, "nodes" | "edges"> {
15351
+ nodes?: (PickProposalFields<TFields> | null)[] | null;
15352
+ edges?: (Omit<ProposalsEdge, "node"> & {
15353
+ node?: PickProposalFields<TFields> | null;
15354
+ })[] | null;
15355
+ }
15356
+ /**
15357
+ * Options for getProposals query.
15358
+ * Extends GetQueryOptions with proposal-specific types.
15359
+ */
15360
+ interface GetProposalsOptions<TFields extends ProposalFieldKey[] = ProposalFieldKey[]> extends GetQueryOptions<ProposalFieldKey, QueryProposalsResultFilterInput, QueryProposalsResultSearchInput, QueryProposalsResultSortInput> {
15361
+ /** Fields to select from the query. If not provided, all fields are returned. */
15362
+ select?: TFields;
15363
+ }
15364
+
13871
15365
  /**
13872
15366
  * Provides comprehensive insurance industry data access for retrieving insurance companies, products, resource keys,
13873
15367
  * release notes, and financial institution information essential for platform operations and integrations.
@@ -13994,7 +15488,8 @@ declare class InsurUpInsuranceClient {
13994
15488
  */
13995
15489
  declare class InsurUpProposalClient {
13996
15490
  private readonly http;
13997
- constructor(http: HttpTransport);
15491
+ private readonly graphql?;
15492
+ constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
13998
15493
  /**
13999
15494
  * Creates a new insurance proposal with customer information, coverage selections, and product options for quotation.
14000
15495
  *
@@ -14170,6 +15665,29 @@ declare class InsurUpProposalClient {
14170
15665
  * @returns Operation result / İşlem sonucu
14171
15666
  */
14172
15667
  setProposalRepresentative(request: SetProposalRepresentativeRequest, options?: RequestOptions): Promise<InsurUpResult>;
15668
+ /**
15669
+ * Queries proposals using GraphQL with advanced filtering, searching, sorting, and field selection.
15670
+ * Supports cursor-based pagination and type-safe field selection.
15671
+ *
15672
+ * Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak teklifleri sorgular.
15673
+ * İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
15674
+ *
15675
+ * @example
15676
+ * // Basic query with all fields
15677
+ * const result = await client.proposals.getProposals({ first: 10 });
15678
+ *
15679
+ * @example
15680
+ * // Type-safe field selection
15681
+ * const result = await client.proposals.getProposals({
15682
+ * select: ['id', 'productBranch', 'state', 'insuredCustomerName'] as const,
15683
+ * first: 10,
15684
+ * filter: { state: { eq: ProposalState.Active } }
15685
+ * });
15686
+ *
15687
+ * @param requestOptions Query options including pagination, filters, search, and field selection
15688
+ * @returns Paginated connection of proposals with type-narrowed fields
15689
+ */
15690
+ getProposals<const TFields extends ProposalFieldKey[]>(requestOptions?: GetProposalsOptions<TFields>): Promise<InsurUpResult<TFields extends readonly ProposalFieldKey[] ? SelectedProposalsConnection<TFields> : ProposalsConnection>>;
14173
15691
  }
14174
15692
 
14175
15693
  /**
@@ -14305,6 +15823,7 @@ declare class InsurUpTemplateClient {
14305
15823
  */
14306
15824
  declare class DefaultInsurUpClient {
14307
15825
  private readonly http;
15826
+ private readonly graphql;
14308
15827
  /**
14309
15828
  * Agent Management Client
14310
15829
  *
@@ -15810,4 +17329,4 @@ declare namespace endpoints$1 {
15810
17329
  export { endpoints$1_addressParameters as addressParameters, endpoints$1_agentBranches as agentBranches, endpoints$1_agentRoles as agentRoles, endpoints$1_agentSetupRequests as agentSetupRequests, endpoints$1_agentUsers as agentUsers, endpoints$1_agents as agents, endpoints$1_b2c as b2c, endpoints$1_banks as banks, endpoints$1_cases as cases, endpoints$1_contactForm as contactForm, endpoints$1_coverageChoices as coverageChoices, endpoints$1_coverageGroups as coverageGroups, endpoints$1_customers as customers, endpoints$1_endpoints as endpoints, endpoints$1_filePolicyTransfers as filePolicyTransfers, endpoints$1_files as files, endpoints$1_financialInstitutions as financialInstitutions, endpoints$1_insuranceCompanies as insuranceCompanies, endpoints$1_insuranceServices as insuranceServices, endpoints$1_languages as languages, endpoints$1_policies as policies, endpoints$1_policyTransfers as policyTransfers, endpoints$1_properties as properties, endpoints$1_proposals as proposals, endpoints$1_releaseNotes as releaseNotes, endpoints$1_resourceKeys as resourceKeys, endpoints$1_templates as templates, endpoints$1_vehicleParameters as vehicleParameters, endpoints$1_vehicles as vehicles, endpoints$1_webhooks as webhooks };
15811
17330
  }
15812
17331
 
15813
- export { type AcceptAgentUserInviteRequest, type ActiveConsent, type AddCustomerEmailRequest, type AddCustomerPhoneNumberRequest, type AddInsuranceCompanyToAgentRequest, type AddNoteToCaseRequest, type Agent, AgentInsuranceCompanyType, type AgentUser, AracSegment, type ArrayB2CConfigField, AssetType, type AssignCaseRepresentativeRequest, type AutomationArgument, type B2CConfigField, type B2CConfigFieldBase, B2CConfigFieldType, type BacklogPivotData, type BackoffStrategy, type Bank, type BankBranch, type BirthDate, type BooleanB2CConfigField, type Branch, type BranchDistribution, type CallCenterAgentOptions, CallCenterImplementation, type CampaignKeyMapping, CancelCaseSubType, CaseActivityAction, type CaseActivityResult, type CaseAssetUpdatedActivityResult, type CaseChannelChangedActivityResult, type CaseCommunicationAutomationResult, type CaseCreatedActivityResult, type CaseCustomerUpdatedActivityResult, CaseMainState, type CaseNoteAddedActivityResult, type CasePolicyAddedActivityResult, type CasePolicyEndDateSetActivityResult, type CasePolicyResult, type CasePriorityAssessedActivityResult, type CasePriorityResult, type CasePriorityRuleDefinition, type CasePriorityRuleHitDetail, type CaseProposalAddedActivityResult, type CaseProposalProductPurchaseAttemptedActivityResult, type CaseProposalResult, type CaseRepresentativeAssignedActivityResult, CaseRepresentativeAssignmentMode, type CaseStateChangedActivityResult, CaseStatus, CaseSubState, CaseType, type ChangeCaseChannelRequest, type ChangeCaseStateRequest, type ChangePrimaryCustomerEmailRequest, type ChangePrimaryCustomerPhoneNumberRequest, Channel, type ClientError, type ColorB2CConfigField, type Communication, type Company, type CompanyCoverageChoices, ComplaintCaseSubType, type CompleteAgentSetupRequestRequest, type ConsentHistoryItem, ContactFlowState, ContactState, ContactType, type ConversionDataPoint, type Coverage, type CoverageChoices, type CoverageValue, type CreateAgentBranchRequest, type CreateAgentRoleRequest, type CreateCancelCaseRequest, type CreateComplaintCaseRequest, type CreateContactFlowRequest, type CreateCoverageGroupRequest, type CreateCrossSaleOpportunityCaseRequest, type CreateCustomerAddressRequest, type CreateCustomerAddressResult, type CreateCustomerContactRequest, type CreateCustomerPropertyRequest, type CreateCustomerPropertyResult, type CreateCustomerRequest, type CreateCustomerRequestCompany, type CreateCustomerRequestForeign, type CreateCustomerRequestIndividual, type CreateCustomerResult, type CreateCustomerVehicleRequest, type CreateCustomerVehicleResult, type CreateEndorsementCaseRequest, type CreateFilePolicyTransferRequest, type CreateManualPolicyRequest, type CreateManualPolicyResult, type CreateNewSaleOpportunityCaseRequest, type CreatePolicyTransferRequest, type CreateProposalRequest, type CreateProposalResult, type CreateWebhookRequest, type CreateWebhookResult, type CreditCard, Currency, type CustomerEmail, type CustomerPhoneNumber, CustomerType, type DailyRenewalData, type DaskOldPolicy, DefaultInsurUpClient, type DeleteAgentBranchRequest, type DeleteAgentRoleRequest, type DeleteCoverageGroupRequest, type DeleteTemplateRequest, Disease, EducationStatus, type EmptyCoverage, type EndContactFlowRequest, EndorsementCaseSubType, endpoints$1 as Endpoints, type EnterAgentSetupRequestRequest, type EnterAgentSetupRequestResult, type ExternalLookupCompanyCustomerResult, type ExternalLookupCustomerRequest, type ExternalLookupCustomerRequestCompany, type ExternalLookupCustomerRequestForeign, type ExternalLookupCustomerRequestIndividual, type ExternalLookupCustomerResult, type ExternalLookupForeignCustomerResult, type ExternalLookupIndividualCustomerResult, type ExternalLookupVehicleRequest, type ExternalLookupVehicleResult, type FetchPolicyDocumentRequest, type FetchPolicyDocumentResult, type FetchProposalInformationFormDocumentRequest, type FetchProposalInformationFormDocumentResult, type FetchProposalProductDocumentRequest, type FetchProposalProductDocumentResult, type FileB2CConfigField, type FinancialInstitution, type ForeignCustomerIdentityNumber, type FunnelStage, Gender, type GenerateCompareProposalProductsPdfRequest, type GenerateCompareProposalProductsPdfResult, type GenerateCustomerProposalDocumentPdfRequest, type GenerateCustomerProposalDocumentPdfResult, type GetAgentBasedConnectionFieldsByCompanyIdResultItem, type GetAgentBranchResult, type GetAgentInsuranceCompanyBranchesRequest, type GetAgentInsuranceCompanyBranchesResult, type GetAgentInsuranceCompanyConnectionRequest, type GetAgentInsuranceCompanyConnectionResult, type GetAgentRoleByIdResult, type GetAgentUserResult, type GetAllAgentBranchesResult, type GetAllAgentRolesResult, type GetAllCustomerPropertiesRequest, type GetAllCustomerPropertiesResult, type GetAllReleaseNotesResultItem, type GetB2CConfigFieldsResult, type GetCancelCaseResult, type GetCaseByRefRequest, type GetCaseByRefResult, type GetCasePriorityTemplatesResult, type GetComplaintCaseResult, type GetCoverageGroupByIdResult, type GetCoverageGroupsResultItem, type GetCurrentAgentResult, type GetCustomerAddressResult, type GetCustomerConsentsResult, type GetCustomerContactFlowsRequest, type GetCustomerContactFlowsResultItem, type GetCustomerContactsRequest, type GetCustomerContactsResultItem, type GetCustomerEmailsResultItem, type GetCustomerHealthInfoRequest, type GetCustomerHealthInfoResult, type GetCustomerPhoneNumbersResultItem, type GetCustomerPropertyByIdRequest, type GetCustomerPropertyByIdResult, type GetCustomerRequest, type GetCustomerResult, type GetCustomerResultCompany, type GetCustomerResultForeign, type GetCustomerResultIndividual, type GetCustomerVehicleRequest, type GetCustomerVehicleResult, type GetCustomerVehiclesRequest, type GetCustomerVehiclesResult, type GetEndorsementCaseResult, type GetFailedCasesReasonDistributionRequest, type GetFailedCasesReasonDistributionResult, type GetFilePolicyTransferDetailRequest, type GetFilePolicyTransferDetailResult, type GetMyAgentInsuranceCompaniesResult, type GetMyAgentUserRobotCodeResult, type GetOpenCaseBacklogPivotAnalyticsRequest, type GetOpenCaseBacklogPivotAnalyticsResult, type GetPolicyCountAndPremiumAnalyticsRequest, type GetPolicyCountAndPremiumAnalyticsResult, type GetPolicyDetailRequest, type GetPolicyDetailResult, type GetPolicyDistributionByBranchRequest, type GetPolicyDistributionByBranchResult, type GetPolicyRenewalAnalyticsRequest, type GetPolicyRenewalAnalyticsResult, type GetPolicyTransferDetailRequest, type GetPolicyTransferDetailResult, type GetPolicyTransferTriggerDetailRequest, type GetPolicyTransferTriggerDetailResult, type GetPropertyAddressByPropertyNumberRequest, type GetProposalByIdResult, type GetProposalConversionTrendRequest, type GetProposalConversionTrendResult, type GetProposalProductCoverageRequest, type GetProposalProductCoverageResult, type GetProposalProductPremiumDetailRequest, type GetProposalProductPremiumDetailResult, type GetRepresentativeEarningsAnalyticsRequest, type GetRepresentativeEarningsAnalyticsResult, type GetSaleOpportunityCaseResult, type GetSalesOpportunityFunnelAnalyticsRequest, type GetSalesOpportunityFunnelAnalyticsResult, type GetTemplateByKeyResult, type GetTemplateDefinitionsResult, type GetWebhookByIdResult, type GetWebhookDeliveryResult, type GetWebhooksResult, type GiveCustomerConsentRequest, type GroupedAnalyticsData, HastaneAgi, type IconB2CConfigField, type ImmCoverage, type ImmCoverageChoices, type IndividualCustomerIdentityNumber, InsurUpAgentBranchClient, InsurUpAgentClient, InsurUpAgentRoleClient, InsurUpAgentSetupClient, InsurUpAgentUserClient, InsurUpCaseClient, InsurUpClientErrorType, type InsurUpClientOptions, InsurUpCoverageClient, InsurUpCustomerClient, InsurUpError, InsurUpFileClient, InsurUpInsuranceClient, InsurUpLanguageClient, InsurUpPolicyClient, InsurUpPropertyClient, InsurUpProposalClient, type InsurUpResult, InsurUpServerErrorType, InsurUpTemplateClient, InsurUpVehicleClient, InsurUpWebhookClient, type InsuranceCompany, type InsuranceCompanyB2CConfigField, type InsuranceParameter, type InsuranceProduct, type InsuranceProductB2CConfigField, InsuranceProductType, InsuranceSyncState, type InviteAgentUserRequest, Job, type KaskoCoverage, type KaskoCoverageChoices, type KiralikArac, type KonutCoverage, type KonutCoverageChoices, type LanguageResult, type LossPayeeClause, LossPayeeClauseType, MaritalStatus, type MigrateAllAgentUsersResult, type MultiLineTextB2CConfigField, Nationality, type Note, type NumberB2CConfigField, type ObjectB2CConfigField, OnarimServisTuru, PaymentOption, type PersonHeight, type PersonWeight, type PhoneCallContactResultItem, type PhoneNumber, type PolicyKPIs, type PolicySnapshot, PolicyState, PolicyTransferCompanyFailureReason, type PolicyTransferTrigger, type PolicyTransferTriggerCompany, type PolicyTransferTriggerDuration, PolicyTransferTriggerStatus, type PriorityTemplate, ProductBranch, type ProductBranchB2CConfigField, type PropertyAddress, type PropertyConstructionYear, PropertyDamageStatus, type PropertyFloor, type PropertyNumber, PropertyOwnershipType, type PropertySquareMeter, PropertyStructure, PropertyUtilizationStyle, ProposalProductState, type ProposalSnapshot, type ProposalSnapshotCustomer, type ProposalSnapshotProperty, type ProposalSnapshotVehicle, ProposalState, type PurchaseProposalProductAsync3DSecureRequest, type PurchaseProposalProductAsyncInsuranceCompanyRedirectRequest, type PurchaseProposalProductAsyncRequest, type PurchaseProposalProductAsyncResult, type PurchaseProposalProductSyncCreditCardRequest, type PurchaseProposalProductSyncOpenAccountRequest, type PurchaseProposalProductSyncRequest, type PurchaseProposalProductSyncResult, type QueryApartmentsRequest, type QueryBuildingsRequest, type QueryDistrictsRequest, type QueryNeighbourhoodsRequest, type QueryPropertyByDaskOldPolicyResult, type QueryStreetsRequest, type QueryTemplatesResult, type QueryTownsRequest, type QueryVehicleByBrandCodeRequest, type QueryVehicleByBrandCodeResult, type QueryVehicleModelTypesRequest, type ReSyncAgentInsuranceCompanyWithInsuranceRequest, type ReasonDistribution, type RemoveCustomerEmailRequest, type RemoveCustomerPhoneNumberRequest, type RepresentativeEarning, type RequestConfig, type RequestInterceptor, type RequestOptions, type ResourceKey, type ResponseInterceptor, type RetryFailedProposalProductRequest, type RetryOptions, type ReviseProposalProductRequest, type ReviseProposalRequest, type ReviseProposalResult, type RevokeCustomerConsentRequest, RobotMode, type SaglikPaketi, SaglikPaketiTedaviSekli, SaleOpportunityCaseSubType, type SendCompareProposalCommunication, type SendCompareProposalProductsPdfRequest, type SendPolicyDocumentCommunication, type SendPolicyDocumentRequest, type SendProposalInformationFormDocumentRequest, type SendProposalProductDocumentRequest, type ServerError, type SetCaseAssetRequest, type SetCaseBranchRequest, type SetCustomerBranchRequest, type SetCustomerRepresentativeRequest, type SetPolicyBranchRequest, type SetPolicyRepresentativeRequest, type SetProposalBranchRequest, type SetProposalRepresentativeRequest, type SmsAgentOptions, SmsImplementation, type Success, type SuccessNoContent, Surgery, TasinanYuk, type TaxNumber, type TextB2CConfigField, type TimeSeriesDataPoint, type TokenProvider, type TransferredPolicy, TransferredPolicyFailureReason, TransferredPolicySkipReason, TransferredPolicyStatus, type TriggerPolicyTransferRequest, type TssCoverage, type TssCoverageChoices, type UpdateAgentBranchRequest, type UpdateAgentInsuranceCompanyBranchesRequest, type UpdateAgentInsuranceCompanyConnectionRequest, type UpdateAgentRoleRequest, type UpdateAgentUserPasswordRequest, type UpdateAgentUserRequest, type UpdateB2CConfigFieldsRequest, type UpdateCoverageGroupRequest, type UpdateCurrentAgentRequest, type UpdateCustomerAddressRequest, type UpdateCustomerHealthInfoRequest, type UpdateCustomerPropertyRequest, type UpdateCustomerRequest, type UpdateCustomerRequestCompany, type UpdateCustomerRequestForeign, type UpdateCustomerRequestIndividual, type UpdateCustomerVehicleRequest, type UpdateManualPolicyRequest, type UpdateMyAgentUserRequest, type UpdateTemplateRequest, type UpdateWebhookRequest, type UploadPublicFileRequest, type UploadPublicFileResult, type UserReference, VERSION, type ValidationError, type VehicleAccessory, VehicleAccessoryType, type VehicleChassis, type VehicleDocumentSerial, type VehicleEngine, type VehicleFuel, VehicleFuelType, type VehicleModel, type VehicleOldPolicy, type VehiclePlate, type VehicleRegistrationDate, type VehicleSeatNumber, VehicleUtilizationStyle, WebhookEvent, YedekParcaTuru, extractError, getDataOrThrow, mergeCoverage, throwIfError };
17332
+ export { ALL_AGENT_USER_FIELDS, ALL_CASE_FIELDS, ALL_CUSTOMER_FIELDS, ALL_FILE_POLICY_TRANSFER_FIELDS, ALL_POLICY_FIELDS, ALL_POLICY_TRANSFER_FIELDS, ALL_PROPOSAL_FIELDS, ALL_WEBHOOK_DELIVERY_FIELDS, type AcceptAgentUserInviteRequest, type ActiveConsent, type AddCustomerEmailRequest, type AddCustomerPhoneNumberRequest, type AddInsuranceCompanyToAgentRequest, type AddNoteToCaseRequest, type Agent, AgentInsuranceCompanyType, type AgentUser, type AgentUserBranchInfo, type AgentUserFieldKey, type AgentUserRoleInfo, AgentUserState, type AgentUsersConnection, type AgentUsersEdge, AracSegment, type ArrayB2CConfigField, AssetType, type AssignCaseRepresentativeRequest, type AutomationArgument, type B2CConfigField, type B2CConfigFieldBase, B2CConfigFieldType, type BacklogPivotData, type BackoffStrategy, type Bank, type BankBranch, type BirthDate, type BooleanB2CConfigField, type BooleanOperationFilterInput, type Branch, type BranchDistribution, type CallCenterAgentOptions, CallCenterImplementation, type CampaignKeyMapping, CancelCaseSubType, CaseActivityAction, type CaseActivityResult, type CaseAgentBranchInfo, type CaseAssetUpdatedActivityResult, type CaseChannelChangedActivityResult, type CaseCommunicationAutomationResult, type CaseCreatedActivityResult, type CaseCustomerUpdatedActivityResult, type CaseFieldKey, CaseMainState, type CaseNoteAddedActivityResult, type CasePolicyAddedActivityResult, type CasePolicyEndDateSetActivityResult, type CasePolicyResult, type CasePriorityAssessedActivityResult, type CasePriorityResult, type CasePriorityRuleDefinition, type CasePriorityRuleHitDetail, type CaseProposalAddedActivityResult, type CaseProposalProductPurchaseAttemptedActivityResult, type CaseProposalResult, type CaseRepresentativeAssignedActivityResult, CaseRepresentativeAssignmentMode, type CaseStateChangedActivityResult, CaseStatus, CaseSubState, CaseType, type CasesConnection, type CasesEdge, type ChangeCaseChannelRequest, type ChangeCaseStateRequest, type ChangePrimaryCustomerEmailRequest, type ChangePrimaryCustomerPhoneNumberRequest, Channel, type ClientError, type CollectionSegmentInfo, type ColorB2CConfigField, type Communication, type Company, type CompanyCoverageChoices, ComplaintCaseSubType, type CompleteAgentSetupRequestRequest, type Connection, type ConsentHistoryItem, ConsentType, ContactFlowState, ContactState, ContactType, type ConversionDataPoint, type Coverage, type CoverageChoices, type CoverageValue, type CreateAgentBranchRequest, type CreateAgentRoleRequest, type CreateCancelCaseRequest, type CreateComplaintCaseRequest, type CreateContactFlowRequest, type CreateCoverageGroupRequest, type CreateCrossSaleOpportunityCaseRequest, type CreateCustomerAddressRequest, type CreateCustomerAddressResult, type CreateCustomerContactRequest, type CreateCustomerPropertyRequest, type CreateCustomerPropertyResult, type CreateCustomerRequest, type CreateCustomerRequestCompany, type CreateCustomerRequestForeign, type CreateCustomerRequestIndividual, type CreateCustomerResult, type CreateCustomerVehicleRequest, type CreateCustomerVehicleResult, type CreateEndorsementCaseRequest, type CreateFilePolicyTransferRequest, type CreateManualPolicyRequest, type CreateManualPolicyResult, type CreateNewSaleOpportunityCaseRequest, type CreatePolicyTransferRequest, type CreateProposalRequest, type CreateProposalResult, type CreateWebhookRequest, type CreateWebhookResult, type CreditCard, Currency, type CustomerAgentBranchInfo, type CustomerEmail, type CustomerFieldKey, type CustomerPhoneNumber, CustomerType, type CustomersConnection, type CustomersEdge, type DailyRenewalData, type DaskOldPolicy, DateOnly, DateTime, type DateTimeOperationFilterInput, type DeepFieldKeys, DefaultInsurUpClient, type DeleteAgentBranchRequest, type DeleteAgentRoleRequest, type DeleteCoverageGroupRequest, type DeleteTemplateRequest, Disease, type Edge, EducationStatus, type EmptyCoverage, type EndContactFlowRequest, EndorsementCaseSubType, endpoints$1 as Endpoints, type EnterAgentSetupRequestRequest, type EnterAgentSetupRequestResult, type EnumOperationFilterInput, type ExternalLookupCompanyCustomerResult, type ExternalLookupCustomerRequest, type ExternalLookupCustomerRequestCompany, type ExternalLookupCustomerRequestForeign, type ExternalLookupCustomerRequestIndividual, type ExternalLookupCustomerResult, type ExternalLookupForeignCustomerResult, type ExternalLookupIndividualCustomerResult, type ExternalLookupVehicleRequest, type ExternalLookupVehicleResult, type ExtractParent, type FetchPolicyDocumentRequest, type FetchPolicyDocumentResult, type FetchProposalInformationFormDocumentRequest, type FetchProposalInformationFormDocumentResult, type FetchProposalProductDocumentRequest, type FetchProposalProductDocumentResult, type FileB2CConfigField, type FilePolicyTransferFieldKey, type FilePolicyTransferUserReference, type FilePolicyTransfersConnection, type FilePolicyTransfersEdge, type FilterInputForType, type FinancialInstitution, type FloatOperationFilterInput, type ForeignCustomerIdentityNumber, type FunnelStage, Gender, type GenerateCompareProposalProductsPdfRequest, type GenerateCompareProposalProductsPdfResult, type GenerateCustomerProposalDocumentPdfRequest, type GenerateCustomerProposalDocumentPdfResult, type GetAgentBasedConnectionFieldsByCompanyIdResultItem, type GetAgentBranchResult, type GetAgentInsuranceCompanyBranchesRequest, type GetAgentInsuranceCompanyBranchesResult, type GetAgentInsuranceCompanyConnectionRequest, type GetAgentInsuranceCompanyConnectionResult, type GetAgentRoleByIdResult, type GetAgentUserResult, type GetAgentUsersOptions, type GetAllAgentBranchesResult, type GetAllAgentRolesResult, type GetAllCustomerPropertiesRequest, type GetAllCustomerPropertiesResult, type GetAllReleaseNotesResultItem, type GetB2CConfigFieldsResult, type GetCancelCaseResult, type GetCaseByRefRequest, type GetCaseByRefResult, type GetCasePriorityTemplatesResult, type GetCasesOptions, type GetComplaintCaseResult, type GetCoverageGroupByIdResult, type GetCoverageGroupsResultItem, type GetCurrentAgentResult, type GetCustomerAddressResult, type GetCustomerConsentsResult, type GetCustomerContactFlowsRequest, type GetCustomerContactFlowsResultItem, type GetCustomerContactsRequest, type GetCustomerContactsResultItem, type GetCustomerEmailsResultItem, type GetCustomerHealthInfoRequest, type GetCustomerHealthInfoResult, type GetCustomerPhoneNumbersResultItem, type GetCustomerPropertyByIdRequest, type GetCustomerPropertyByIdResult, type GetCustomerRequest, type GetCustomerResult, type GetCustomerResultCompany, type GetCustomerResultForeign, type GetCustomerResultIndividual, type GetCustomerVehicleRequest, type GetCustomerVehicleResult, type GetCustomerVehiclesRequest, type GetCustomerVehiclesResult, type GetCustomersOptions, type GetEndorsementCaseResult, type GetFailedCasesReasonDistributionRequest, type GetFailedCasesReasonDistributionResult, type GetFilePolicyTransferDetailRequest, type GetFilePolicyTransferDetailResult, type GetFilePolicyTransfersOptions, type GetMyAgentInsuranceCompaniesResult, type GetMyAgentUserRobotCodeResult, type GetOpenCaseBacklogPivotAnalyticsRequest, type GetOpenCaseBacklogPivotAnalyticsResult, type GetPoliciesOptions, type GetPolicyCountAndPremiumAnalyticsRequest, type GetPolicyCountAndPremiumAnalyticsResult, type GetPolicyDetailRequest, type GetPolicyDetailResult, type GetPolicyDistributionByBranchRequest, type GetPolicyDistributionByBranchResult, type GetPolicyRenewalAnalyticsRequest, type GetPolicyRenewalAnalyticsResult, type GetPolicyTransferDetailRequest, type GetPolicyTransferDetailResult, type GetPolicyTransferTriggerDetailRequest, type GetPolicyTransferTriggerDetailResult, type GetPolicyTransfersOptions, type GetPropertyAddressByPropertyNumberRequest, type GetProposalByIdResult, type GetProposalConversionTrendRequest, type GetProposalConversionTrendResult, type GetProposalProductCoverageRequest, type GetProposalProductCoverageResult, type GetProposalProductPremiumDetailRequest, type GetProposalProductPremiumDetailResult, type GetProposalsOptions, type GetQueryOptions, type GetRepresentativeEarningsAnalyticsRequest, type GetRepresentativeEarningsAnalyticsResult, type GetSaleOpportunityCaseResult, type GetSalesOpportunityFunnelAnalyticsRequest, type GetSalesOpportunityFunnelAnalyticsResult, type GetTemplateByKeyResult, type GetTemplateDefinitionsResult, type GetWebhookByIdResult, type GetWebhookDeliveriesOptions, type GetWebhookDeliveryResult, type GetWebhooksResult, type GiveCustomerConsentRequest, type GraphQLError, type GraphQLErrorLocation, type GraphQLRequest, type GraphQLResponse, GraphQLTransport, type GroupedAnalyticsData, HastaneAgi, type IconB2CConfigField, type ImmCoverage, type ImmCoverageChoices, type IndividualCustomerIdentityNumber, InsurUpAgentBranchClient, InsurUpAgentClient, InsurUpAgentRoleClient, InsurUpAgentSetupClient, InsurUpAgentUserClient, InsurUpCaseClient, InsurUpClientErrorType, type InsurUpClientOptions, InsurUpCoverageClient, InsurUpCustomerClient, InsurUpError, InsurUpFileClient, InsurUpInsuranceClient, InsurUpLanguageClient, InsurUpPolicyClient, InsurUpPropertyClient, InsurUpProposalClient, type InsurUpResult, InsurUpServerErrorType, InsurUpTemplateClient, InsurUpVehicleClient, InsurUpWebhookClient, type InsuranceCompany, type InsuranceCompanyB2CConfigField, type InsuranceParameter, type InsuranceProduct, type InsuranceProductB2CConfigField, InsuranceProductType, InsuranceSyncState, type IntOperationFilterInput, type InviteAgentUserRequest, type IsNestedPath, Job, type KaskoCoverage, type KaskoCoverageChoices, type KiralikArac, type KonutCoverage, type KonutCoverageChoices, type LanguageResult, type ListFilterInputType, type LocalDateOperationFilterInput, type LossPayeeClause, LossPayeeClauseType, MaritalStatus, type MigrateAllAgentUsersResult, type ModelFilterInput, type ModelSearchInput, type MultiLineTextB2CConfigField, Nationality, type NestedKeysForParent, type NestedParents, type Note, type NumberB2CConfigField, type ObjectB2CConfigField, OnarimServisTuru, type PageInfo, PaymentOption, type PersonHeight, type PersonWeight, type PhoneCallContactResultItem, type PhoneNumber, type PickAgentUserFields, type PickCaseFields, type PickCustomerFields, type PickFields, type PickFilePolicyTransferFields, type PickPolicyFields, type PickPolicyTransferFields, type PickProposalFields, type PickWebhookDeliveryFields, type PoliciesConnection, type PoliciesEdge, type PolicyAgentBranchInfo, type PolicyFieldKey, type PolicyKPIs, type PolicySnapshot, PolicyState, PolicyTransferCompanyFailureReason, type PolicyTransferFieldKey, type PolicyTransferTrigger, type PolicyTransferTriggerCompany, type PolicyTransferTriggerDuration, PolicyTransferTriggerStatus, type PolicyTransfersConnection, type PolicyTransfersEdge, type PolicyUserReference, type PriorityRuleHit, type PriorityTemplate, ProductBranch, type ProductBranchB2CConfigField, type PropertyAddress, type PropertyConstructionYear, PropertyDamageStatus, type PropertyFloor, type PropertyNumber, PropertyOwnershipType, type PropertySquareMeter, PropertyStructure, PropertyUtilizationStyle, type ProposalAgentBranchInfo, type ProposalFieldKey, ProposalProductState, type ProposalSnapshot, type ProposalSnapshotCustomer, type ProposalSnapshotProperty, type ProposalSnapshotVehicle, ProposalState, type ProposalUserReference, type ProposalsConnection, type ProposalsEdge, type PurchaseProposalProductAsync3DSecureRequest, type PurchaseProposalProductAsyncInsuranceCompanyRedirectRequest, type PurchaseProposalProductAsyncRequest, type PurchaseProposalProductAsyncResult, type PurchaseProposalProductSyncCreditCardRequest, type PurchaseProposalProductSyncOpenAccountRequest, type PurchaseProposalProductSyncRequest, type PurchaseProposalProductSyncResult, type QueryAgentUserResult, type QueryAgentUserResultFilterInput, type QueryAgentUserResultSearchInput, type QueryAgentUserResultSortInput, type QueryApartmentsRequest, type QueryBuildingsRequest, type QueryCaseModel, type QueryCaseModelFilterInput, type QueryCaseModelSearchInput, type QueryCaseModelSortInput, type QueryCustomerConsentModel, type QueryCustomerModel, type QueryCustomerModelFilterInput, type QueryCustomerModelSearchInput, type QueryCustomerModelSortInput, type QueryDistrictsRequest, type QueryFilePolicyTransfersResult, type QueryFilePolicyTransfersResultFilterInput, type QueryFilePolicyTransfersResultSearchInput, type QueryFilePolicyTransfersResultSortInput, type QueryNeighbourhoodsRequest, type QueryPoliciesResult, type QueryPoliciesResultFilterInput, type QueryPoliciesResultSearchInput, type QueryPoliciesResultSortInput, type QueryPolicyTransfersResult, type QueryPolicyTransfersResultFilterInput, type QueryPolicyTransfersResultSearchInput, type QueryPolicyTransfersResultSortInput, type QueryPropertyByDaskOldPolicyResult, type QueryProposalsResult, type QueryProposalsResultFilterInput, type QueryProposalsResultSearchInput, type QueryProposalsResultSortInput, type QueryStreetsRequest, type QueryTemplatesResult, type QueryTownsRequest, type QueryVehicleByBrandCodeRequest, type QueryVehicleByBrandCodeResult, type QueryVehicleModelTypesRequest, type QueryWebhookDeliveryResult, type QueryWebhookDeliveryResultFilterInput, type QueryWebhookDeliveryResultSearchInput, type QueryWebhookDeliveryResultSortInput, type ReSyncAgentInsuranceCompanyWithInsuranceRequest, type ReasonDistribution, type RemoveCustomerEmailRequest, type RemoveCustomerPhoneNumberRequest, type RepresentativeEarning, type RequestConfig, type RequestInterceptor, type RequestOptions, type ResourceKey, type ResponseInterceptor, type RetryFailedProposalProductRequest, type RetryOptions, type ReviseProposalProductRequest, type ReviseProposalRequest, type ReviseProposalResult, type RevokeCustomerConsentRequest, RobotMode, type SaglikPaketi, SaglikPaketiTedaviSekli, SaleOpportunityCaseSubType, type SearchInputForType, type SearchScoreInput, type SearchStringOperationFilterInput, type SearchTextInput, type SelectedAgentUsersConnection, type SelectedCasesConnection, type SelectedCustomersConnection, type SelectedFilePolicyTransfersConnection, type SelectedPoliciesConnection, type SelectedPolicyTransfersConnection, type SelectedProposalsConnection, type SelectedWebhookDeliveriesConnection, type SendCompareProposalCommunication, type SendCompareProposalProductsPdfRequest, type SendPolicyDocumentCommunication, type SendPolicyDocumentRequest, type SendProposalInformationFormDocumentRequest, type SendProposalProductDocumentRequest, type ServerError, type SetCaseAssetRequest, type SetCaseBranchRequest, type SetCustomerBranchRequest, type SetCustomerRepresentativeRequest, type SetPolicyBranchRequest, type SetPolicyRepresentativeRequest, type SetProposalBranchRequest, type SetProposalRepresentativeRequest, type SimpleFields, type SmsAgentOptions, SmsImplementation, SortEnumType, type StringOperationFilterInput, type Success, type SuccessNoContent, Surgery, TasinanYuk, type TaxNumber, type TextB2CConfigField, type TimeSeriesDataPoint, type TokenProvider, type TransferredPolicy, TransferredPolicyFailureReason, TransferredPolicySkipReason, TransferredPolicyStatus, type TriggerPolicyTransferRequest, type TssCoverage, type TssCoverageChoices, type UnwrapArray, type UpdateAgentBranchRequest, type UpdateAgentInsuranceCompanyBranchesRequest, type UpdateAgentInsuranceCompanyConnectionRequest, type UpdateAgentRoleRequest, type UpdateAgentUserPasswordRequest, type UpdateAgentUserRequest, type UpdateB2CConfigFieldsRequest, type UpdateCoverageGroupRequest, type UpdateCurrentAgentRequest, type UpdateCustomerAddressRequest, type UpdateCustomerHealthInfoRequest, type UpdateCustomerPropertyRequest, type UpdateCustomerRequest, type UpdateCustomerRequestCompany, type UpdateCustomerRequestForeign, type UpdateCustomerRequestIndividual, type UpdateCustomerVehicleRequest, type UpdateManualPolicyRequest, type UpdateMyAgentUserRequest, type UpdateTemplateRequest, type UpdateWebhookRequest, type UploadPublicFileRequest, type UploadPublicFileResult, type UserReference, UserType, type UuidOperationFilterInput, VERSION, type ValidationError, type VehicleAccessory, VehicleAccessoryType, type VehicleChassis, type VehicleDocumentSerial, type VehicleEngine, type VehicleFuel, VehicleFuelType, type VehicleModel, type VehicleOldPolicy, type VehiclePlate, type VehicleRegistrationDate, type VehicleSeatNumber, VehicleUtilizationStyle, type WebhookDeliveriesConnection, type WebhookDeliveriesEdge, type WebhookDeliveryFieldKey, WebhookDeliveryState, WebhookEvent, YedekParcaTuru, buildFieldSelection, extractError, getDataOrThrow, mergeCoverage, throwIfError };