@insurup/sdk 0.1.12 → 0.1.14
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/README.md +55 -58
- package/dist/client/client.d.ts +153 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/graphql.d.ts +51 -0
- package/dist/client/graphql.d.ts.map +1 -0
- package/dist/client/http.d.ts +173 -0
- package/dist/client/http.d.ts.map +1 -0
- package/dist/clients/agent.d.ts +121 -0
- package/dist/clients/agent.d.ts.map +1 -0
- package/dist/clients/agentBranch.d.ts +61 -0
- package/dist/clients/agentBranch.d.ts.map +1 -0
- package/dist/clients/agentRole.d.ts +60 -0
- package/dist/clients/agentRole.d.ts.map +1 -0
- package/dist/clients/agentSetup.d.ts +34 -0
- package/dist/clients/agentSetup.d.ts.map +1 -0
- package/dist/clients/agentUser.d.ts +176 -0
- package/dist/clients/agentUser.d.ts.map +1 -0
- package/dist/clients/case.d.ts +232 -0
- package/dist/clients/case.d.ts.map +1 -0
- package/dist/clients/coverage.d.ts +98 -0
- package/dist/clients/coverage.d.ts.map +1 -0
- package/dist/clients/customer.d.ts +216 -0
- package/dist/clients/customer.d.ts.map +1 -0
- package/dist/clients/file.d.ts +30 -0
- package/dist/clients/file.d.ts.map +1 -0
- package/dist/clients/insurance.d.ts +105 -0
- package/dist/clients/insurance.d.ts.map +1 -0
- package/dist/clients/language.d.ts +27 -0
- package/dist/clients/language.d.ts.map +1 -0
- package/dist/clients/policy.d.ts +251 -0
- package/dist/clients/policy.d.ts.map +1 -0
- package/dist/clients/property.d.ts +163 -0
- package/dist/clients/property.d.ts.map +1 -0
- package/dist/clients/proposal.d.ts +232 -0
- package/dist/clients/proposal.d.ts.map +1 -0
- package/dist/clients/template.d.ts +73 -0
- package/dist/clients/template.d.ts.map +1 -0
- package/dist/clients/vehicle.d.ts +112 -0
- package/dist/clients/vehicle.d.ts.map +1 -0
- package/dist/clients/webhook.d.ts +106 -0
- package/dist/clients/webhook.d.ts.map +1 -0
- package/dist/core/config.d.ts +38 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/endpoints.d.ts +1331 -0
- package/dist/core/endpoints.d.ts.map +1 -0
- package/dist/core/error-types.d.ts +66 -0
- package/dist/core/error-types.d.ts.map +1 -0
- package/dist/core/errors.d.ts +42 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/options.d.ts +221 -0
- package/dist/core/options.d.ts.map +1 -0
- package/dist/core/result.d.ts +183 -0
- package/dist/core/result.d.ts.map +1 -0
- package/dist/core/retry.d.ts +15 -0
- package/dist/core/retry.d.ts.map +1 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +144 -506
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +31 -4225
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +144 -506
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +10 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +17 -14
- package/dist/index.d.cts +0 -4226
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { HttpTransport } from '../client/http.js';
|
|
2
|
+
import type { InsurUpResult } from '../core/result.js';
|
|
3
|
+
import type { RequestOptions } from '../core/options.js';
|
|
4
|
+
import type { ResourceKey, InsuranceCompany, InsuranceProduct, GetAgentBasedConnectionFieldsByCompanyIdResultItem, GetAllReleaseNotesResultItem, Bank, BankBranch, FinancialInstitution } from '@insurup/contracts';
|
|
5
|
+
/**
|
|
6
|
+
* Provides comprehensive insurance industry data access for retrieving insurance companies, products, resource keys,
|
|
7
|
+
* release notes, and financial institution information essential for platform operations and integrations.
|
|
8
|
+
*
|
|
9
|
+
* Platform operasyonları ve entegrasyonları için gerekli sigorta şirketleri, ürünler, kaynak anahtarları,
|
|
10
|
+
* sürüm notları ve finansal kurum bilgilerini almak üzere kapsamlı sigorta sektörü veri erişimi sağlar.
|
|
11
|
+
*
|
|
12
|
+
* **Insurance Industry Data Client / Sigorta Sektörü Veri İstemcisi**
|
|
13
|
+
*
|
|
14
|
+
* EN: Central client for accessing comprehensive insurance industry reference data and platform configuration information.
|
|
15
|
+
* Provides access to insurance companies, their products, localization resources, platform release notes, banking
|
|
16
|
+
* institutions, and financial service providers. Essential for agencies that need to stay updated with insurance
|
|
17
|
+
* market offerings, configure platform integrations, access multilingual resources, and integrate with banking
|
|
18
|
+
* systems for premium collection and policy financing operations.
|
|
19
|
+
*
|
|
20
|
+
* TR: Kapsamlı sigorta sektörü referans verilerine ve platform yapılandırma bilgilerine erişim için merkezi istemci.
|
|
21
|
+
* Sigorta şirketleri, ürünleri, yerelleştirme kaynakları, platform sürüm notları, bankacılık kurumları ve finansal
|
|
22
|
+
* hizmet sağlayıcılarına erişim sağlar. Sigorta pazar teklifleri ile güncel kalması, platform entegrasyonlarını
|
|
23
|
+
* yapılandırması, çok dilli kaynaklara erişmesi ve prim tahsilatı ile poliçe finansman operasyonları için bankacılık
|
|
24
|
+
* sistemleri ile entegrasyon yapması gereken acenteler için olmazsa olmazdır.
|
|
25
|
+
*/
|
|
26
|
+
export declare class InsurUpInsuranceClient {
|
|
27
|
+
private readonly http;
|
|
28
|
+
constructor(http: HttpTransport);
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves all available resource keys for localization and multi-language support within the platform.
|
|
31
|
+
*
|
|
32
|
+
* Platform içinde yerelleştirme ve çoklu dil desteği için mevcut tüm kaynak anahtarlarını getirir.
|
|
33
|
+
*
|
|
34
|
+
* @returns List of resource keys for localization / Yerelleştirme için kaynak anahtarları listesi
|
|
35
|
+
*/
|
|
36
|
+
getResourceKeys(options?: RequestOptions): Promise<InsurUpResult<ResourceKey[]>>;
|
|
37
|
+
/**
|
|
38
|
+
* Retrieves all insurance companies available on the platform for agent partnerships and product offerings.
|
|
39
|
+
*
|
|
40
|
+
* Acente ortaklıkları ve ürün teklifleri için platformda bulunan tüm sigorta şirketlerini getirir.
|
|
41
|
+
*
|
|
42
|
+
* @returns List of insurance companies / Sigorta şirketleri listesi
|
|
43
|
+
*/
|
|
44
|
+
getInsuranceCompanies(options?: RequestOptions): Promise<InsurUpResult<InsuranceCompany[]>>;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves all insurance products offered by a specific insurance company including their features and coverage options.
|
|
47
|
+
*
|
|
48
|
+
* Belirli bir sigorta şirketinin sunduğu tüm sigorta ürünlerini özellikleri ve teminat seçenekleri dahil getirir.
|
|
49
|
+
*
|
|
50
|
+
* @param insuranceCompanyId Unique identifier of the insurance company / Sigorta şirketinin benzersiz tanımlayıcısı
|
|
51
|
+
* @returns List of insurance products / Sigorta ürünleri listesi
|
|
52
|
+
*/
|
|
53
|
+
getInsuranceCompanyProducts(insuranceCompanyId: number, options?: RequestOptions): Promise<InsurUpResult<InsuranceProduct[]>>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves all insurance products from all companies on the platform including their features and coverage options.
|
|
56
|
+
*
|
|
57
|
+
* Platformdaki tüm şirketlerden mevcut tüm sigorta ürünlerini özellikleri ve teminat seçenekleri dahil getirir.
|
|
58
|
+
*
|
|
59
|
+
* @returns List of all insurance products / Tüm sigorta ürünleri listesi
|
|
60
|
+
*/
|
|
61
|
+
getAllProducts(options?: RequestOptions): Promise<InsurUpResult<InsuranceProduct[]>>;
|
|
62
|
+
/**
|
|
63
|
+
* Retrieves agent-specific connection fields and requirements for integrating with a particular insurance company's systems.
|
|
64
|
+
*
|
|
65
|
+
* Belirli bir sigorta şirketinin sistemleri ile entegrasyon için acente özel bağlantı alanları ve gereksinimlerini getirir.
|
|
66
|
+
*
|
|
67
|
+
* @param insuranceCompanyId Unique identifier of the insurance company / Sigorta şirketinin benzersiz tanımlayıcısı
|
|
68
|
+
* @returns Connection field requirements / Bağlantı alanı gereksinimleri
|
|
69
|
+
*/
|
|
70
|
+
getCompanyConnectionFields(insuranceCompanyId: number, options?: RequestOptions): Promise<InsurUpResult<GetAgentBasedConnectionFieldsByCompanyIdResultItem[]>>;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves all platform release notes including new features, bug fixes, and important updates for system awareness.
|
|
73
|
+
*
|
|
74
|
+
* Sistem farkındalığı için yeni özellikler, hata düzeltmeleri ve önemli güncellemeler dahil tüm platform sürüm notlarını getirir.
|
|
75
|
+
*
|
|
76
|
+
* @returns Platform release notes / Platform sürüm notları
|
|
77
|
+
*/
|
|
78
|
+
getAllReleaseNotes(options?: RequestOptions): Promise<InsurUpResult<GetAllReleaseNotesResultItem[]>>;
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves all banks available for premium collection, policy financing, and customer payment processing operations.
|
|
81
|
+
*
|
|
82
|
+
* Prim tahsilatı, poliçe finansmanı ve müşteri ödeme işleme operasyonları için mevcut tüm bankaları getirir.
|
|
83
|
+
*
|
|
84
|
+
* @returns List of banks / Bankalar listesi
|
|
85
|
+
*/
|
|
86
|
+
getBanks(options?: RequestOptions): Promise<InsurUpResult<Bank[]>>;
|
|
87
|
+
/**
|
|
88
|
+
* Retrieves all branches for a specific bank to enable precise payment routing and customer service location matching.
|
|
89
|
+
*
|
|
90
|
+
* Hassas ödeme yönlendirmesi ve müşteri hizmet konumu eşleştirmesi için belirli bir bankanın tüm şubelerini getirir.
|
|
91
|
+
*
|
|
92
|
+
* @param bankId Unique identifier of the bank / Bankanın benzersiz tanımlayıcısı
|
|
93
|
+
* @returns List of bank branches / Banka şubeleri listesi
|
|
94
|
+
*/
|
|
95
|
+
getBankBranches(bankId: string, options?: RequestOptions): Promise<InsurUpResult<BankBranch[]>>;
|
|
96
|
+
/**
|
|
97
|
+
* Retrieves all financial institutions including banks, credit unions, and other financial service providers for comprehensive payment options.
|
|
98
|
+
*
|
|
99
|
+
* Kapsamlı ödeme seçenekleri için bankalar, kredi birlikleri ve diğer finansal hizmet sağlayıcıları dahil tüm finansal kurumları getirir.
|
|
100
|
+
*
|
|
101
|
+
* @returns List of financial institutions / Finansal kurumlar listesi
|
|
102
|
+
*/
|
|
103
|
+
getFinancialInstitutions(options?: RequestOptions): Promise<InsurUpResult<FinancialInstitution[]>>;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=insurance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insurance.d.ts","sourceRoot":"","sources":["../../src/clients/insurance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,kDAAkD,EAClD,4BAA4B,EAC5B,IAAI,EACJ,UAAU,EACV,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,sBAAsB;IACrB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,aAAa;IAEhD;;;;;;OAMG;IACG,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC,CAAC;IAItF;;;;;;OAMG;IACG,qBAAqB,CACzB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAO7C;;;;;;;OAOG;IACG,2BAA2B,CAC/B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAM7C;;;;;;OAMG;IACG,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAI1F;;;;;;;OAOG;IACG,0BAA0B,CAC9B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,kDAAkD,EAAE,CAAC,CAAC;IAQ/E;;;;;;OAMG;IACG,kBAAkB,CACtB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,4BAA4B,EAAE,CAAC,CAAC;IAIzD;;;;;;OAMG;IACG,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC;IAIxE;;;;;;;OAOG;IACG,eAAe,CACnB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC;IAKvC;;;;;;OAMG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,oBAAoB,EAAE,CAAC,CAAC;CAGlD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Language Client - Language and localization operations
|
|
3
|
+
* @description Provides language and localization operations for retrieving available languages
|
|
4
|
+
*/
|
|
5
|
+
import type { HttpTransport } from '../client/http.js';
|
|
6
|
+
import type { InsurUpResult } from '../core/result.js';
|
|
7
|
+
import type { RequestOptions } from '../core/options.js';
|
|
8
|
+
import type { LanguageResult } from '@insurup/contracts';
|
|
9
|
+
/**
|
|
10
|
+
* Provides language and localization operations for retrieving available languages in the InsurUp platform.
|
|
11
|
+
* Essential for multi-language support and internationalization features.
|
|
12
|
+
*/
|
|
13
|
+
export declare class InsurUpLanguageClient {
|
|
14
|
+
private readonly http;
|
|
15
|
+
constructor(http: HttpTransport);
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves all available languages in the system for localization and internationalization purposes.
|
|
18
|
+
* Returns language information including language codes, native names, and English names.
|
|
19
|
+
*
|
|
20
|
+
* Yerelleştirme ve uluslararasılaştırma amaçları için sistemdeki tüm kullanılabilir dilleri getirir.
|
|
21
|
+
* Dil kodları, yerel adlar ve İngilizce adlar dahil dil bilgilerini döndürür.
|
|
22
|
+
*
|
|
23
|
+
* @returns List of all available languages
|
|
24
|
+
*/
|
|
25
|
+
getLanguages(options?: RequestOptions): Promise<InsurUpResult<LanguageResult[]>>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=language.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../src/clients/language.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;GAGG;AACH,qBAAa,qBAAqB;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,aAAa;IAEhD;;;;;;;;OAQG;IACG,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC;CAGvF"}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Policy Management Client - Comprehensive policy operations
|
|
3
|
+
* @description Provides comprehensive policy management operations for handling active insurance policies,
|
|
4
|
+
* document generation, customer communications, representative assignments, and policy transfer processes
|
|
5
|
+
*/
|
|
6
|
+
import type { HttpTransport } from '../client/http.js';
|
|
7
|
+
import type { GraphQLTransport } from '../client/graphql.js';
|
|
8
|
+
import type { InsurUpResult, InsurUpGraphQLResult } from '../core/result.js';
|
|
9
|
+
import type { RequestOptions } from '../core/options.js';
|
|
10
|
+
import type { GetPolicyDetailRequest, GetPolicyDetailResult, FetchPolicyDocumentRequest, FetchPolicyDocumentResult, SendPolicyDocumentRequest, SetPolicyRepresentativeRequest, SetPolicyBranchRequest, CreateManualPolicyRequest, CreateManualPolicyResult, UpdateManualPolicyRequest, GetPolicyCountAndPremiumAnalyticsRequest, GetPolicyCountAndPremiumAnalyticsResult, GetPolicyRenewalAnalyticsRequest, GetPolicyRenewalAnalyticsResult, GetPolicyDistributionByBranchRequest, GetPolicyDistributionByBranchResult, GetRepresentativeEarningsAnalyticsRequest, GetRepresentativeEarningsAnalyticsResult } from '@insurup/contracts';
|
|
11
|
+
import type { GetPolicyTransferDetailRequest, GetPolicyTransferDetailResult, GetPolicyTransferTriggerDetailRequest, GetPolicyTransferTriggerDetailResult, CreatePolicyTransferRequest, TriggerPolicyTransferRequest, CreateFilePolicyTransferRequest, GetFilePolicyTransferDetailRequest, GetFilePolicyTransferDetailResult } from '@insurup/contracts';
|
|
12
|
+
import { type PolicyFieldKey, type GetPoliciesOptions, type PoliciesConnection } from '@insurup/contracts';
|
|
13
|
+
import { type PolicyTransferFieldKey, type GetPolicyTransfersOptions, type PolicyTransfersConnection } from '@insurup/contracts';
|
|
14
|
+
import { type FilePolicyTransferFieldKey, type GetFilePolicyTransfersOptions, type FilePolicyTransfersConnection } from '@insurup/contracts';
|
|
15
|
+
/**
|
|
16
|
+
* Policy Management Client / Poliçe Yönetimi İstemcisi
|
|
17
|
+
*
|
|
18
|
+
* Central client for managing active insurance policies throughout their lifecycle from issuance to expiration.
|
|
19
|
+
* Handles policy documentation, customer communication, representative management, and complex policy transfer operations
|
|
20
|
+
* including bulk transfers and file-based transfers. Essential for agencies that need to maintain comprehensive policy
|
|
21
|
+
* administration, ensure proper documentation delivery to customers, manage policy ownership changes, and coordinate
|
|
22
|
+
* policy transfers between different systems or agents while maintaining audit trails and regulatory compliance.
|
|
23
|
+
*
|
|
24
|
+
* Düzenlenmesinden sona ermesine kadar aktif sigorta poliçelerini yaşam döngüleri boyunca yönetmek için merkezi istemci.
|
|
25
|
+
* Poliçe dokümantasyonu, müşteri iletişimi, temsilci yönetimi ve toplu transferler ile dosya tabanlı transferler dahil
|
|
26
|
+
* karmaşık poliçe transfer operasyonlarını yönetir. Kapsamlı poliçe yönetimi sürdürmesi, müşterilere uygun dokümantasyon
|
|
27
|
+
* teslimatını sağlaması, poliçe sahiplik değişikliklerini yönetmesi ve denetim izleri ile düzenleyici uyumu korurken
|
|
28
|
+
* farklı sistemler veya acenteler arasında poliçe transferlerini koordine etmesi gereken acenteler için olmazsa olmazdır.
|
|
29
|
+
*/
|
|
30
|
+
export declare class InsurUpPolicyClient {
|
|
31
|
+
private readonly http;
|
|
32
|
+
private readonly graphql?;
|
|
33
|
+
constructor(http: HttpTransport, graphql?: GraphQLTransport | undefined);
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves comprehensive details of a specific policy including coverage information, premium details, and current status.
|
|
36
|
+
*
|
|
37
|
+
* Teminat bilgileri, prim detayları ve mevcut durum dahil belirli bir poliçenin kapsamlı detaylarını getirir.
|
|
38
|
+
*
|
|
39
|
+
* @param request - Policy detail request with policy ID
|
|
40
|
+
* @returns Detailed policy information
|
|
41
|
+
*/
|
|
42
|
+
getPolicyDetail(request: GetPolicyDetailRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyDetailResult>>;
|
|
43
|
+
/**
|
|
44
|
+
* Fetches the official policy document from the insurance company's systems for customer delivery or records.
|
|
45
|
+
*
|
|
46
|
+
* Müşteri teslimatı veya kayıtlar için sigorta şirketinin sistemlerinden resmi poliçe belgesini getirir.
|
|
47
|
+
*
|
|
48
|
+
* @param request - Policy document fetch request with policy ID
|
|
49
|
+
* @returns Policy document data
|
|
50
|
+
*/
|
|
51
|
+
fetchPolicyDocument(request: FetchPolicyDocumentRequest, options?: RequestOptions): Promise<InsurUpResult<FetchPolicyDocumentResult>>;
|
|
52
|
+
/**
|
|
53
|
+
* Sends the policy document directly to the customer via email or other communication channels for their records.
|
|
54
|
+
*
|
|
55
|
+
* Poliçe belgesini müşterinin kayıtları için e-posta veya diğer iletişim kanalları aracılığıyla doğrudan müşteriye gönderir.
|
|
56
|
+
*
|
|
57
|
+
* @param request - Document delivery request
|
|
58
|
+
* @returns Operation result
|
|
59
|
+
*/
|
|
60
|
+
sendPolicyDocumentToCustomer(request: SendPolicyDocumentRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
61
|
+
/**
|
|
62
|
+
* Assigns or updates the representative responsible for managing a specific policy and customer relationship.
|
|
63
|
+
*
|
|
64
|
+
* Belirli bir poliçeyi ve müşteri ilişkisini yönetmekten sorumlu temsilciyi atar veya günceller.
|
|
65
|
+
*
|
|
66
|
+
* @param request - Representative assignment request
|
|
67
|
+
* @returns Operation result
|
|
68
|
+
*/
|
|
69
|
+
setPolicyRepresentative(request: SetPolicyRepresentativeRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
70
|
+
/**
|
|
71
|
+
* Assigns or changes the branch for a policy to organize policy segmentation and reporting.
|
|
72
|
+
*
|
|
73
|
+
* Poliçe segmentasyonu ve raporlama için poliçenin şubesini atar veya değiştirir.
|
|
74
|
+
*
|
|
75
|
+
* @param request Branch assignment request / Şube atama talebi
|
|
76
|
+
* @returns Operation result / İşlem sonucu
|
|
77
|
+
*/
|
|
78
|
+
setPolicyBranch(request: SetPolicyBranchRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
79
|
+
/**
|
|
80
|
+
* Creates a new manual policy through the agent panel without insurance services integration.
|
|
81
|
+
*
|
|
82
|
+
* Sigorta hizmetleri entegrasyonu olmadan acente paneli üzerinden yeni manuel poliçe oluşturur.
|
|
83
|
+
*
|
|
84
|
+
* @param request Manual policy creation request / Manuel poliçe oluşturma talebi
|
|
85
|
+
* @returns Created policy identifier / Oluşturulan poliçe tanımlayıcısı
|
|
86
|
+
*/
|
|
87
|
+
createManualPolicy(request: CreateManualPolicyRequest, options?: RequestOptions): Promise<InsurUpResult<CreateManualPolicyResult>>;
|
|
88
|
+
/**
|
|
89
|
+
* Updates an existing manual policy through the agent panel and creates a new policy version for tracking changes.
|
|
90
|
+
*
|
|
91
|
+
* Acente paneli üzerinden mevcut manuel poliçeyi günceller ve değişiklikleri takip etmek için yeni poliçe versiyonu oluşturur.
|
|
92
|
+
*
|
|
93
|
+
* @param request Manual policy update request / Manuel poliçe güncelleme talebi
|
|
94
|
+
* @returns Operation result / İşlem sonucu
|
|
95
|
+
*/
|
|
96
|
+
updateManualPolicy(request: UpdateManualPolicyRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
97
|
+
/**
|
|
98
|
+
* Retrieves comprehensive policy count and gross premium analytics with flexible filtering and grouping options.
|
|
99
|
+
* Provides time series data, summary KPIs, and optional grouping by product branch or insurance company.
|
|
100
|
+
*
|
|
101
|
+
* Esnek filtreleme ve gruplama seçenekleri ile kapsamlı poliçe adedi ve brüt prim analitiği getirir.
|
|
102
|
+
* Zaman serisi verileri, özet KPI'lar ve isteğe bağlı ürün branşı veya sigorta şirketine göre gruplama sağlar.
|
|
103
|
+
*
|
|
104
|
+
* @param request Analytics request with filters and grouping options / Filtreler ve gruplama seçenekleri ile analitik talebi
|
|
105
|
+
* @returns Comprehensive analytics data including KPIs, time series, and grouped data / KPI'lar, zaman serisi ve gruplanmış veriler dahil kapsamlı analitik verileri
|
|
106
|
+
*/
|
|
107
|
+
getPolicyCountAndPremiumAnalytics(request: GetPolicyCountAndPremiumAnalyticsRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyCountAndPremiumAnalyticsResult>>;
|
|
108
|
+
/**
|
|
109
|
+
* Retrieves stacked daily renewal analytics for policies with RenewalNumber greater than zero.
|
|
110
|
+
* Provides branch segmented counts together with total and peak KPIs.
|
|
111
|
+
*
|
|
112
|
+
* RenewalNumber değeri sıfırdan büyük olan poliçeler için günlük yenileme analitiği sağlar.
|
|
113
|
+
* Branş bazlı yığılmış adetler ile toplam ve pik KPI değerlerini döner.
|
|
114
|
+
*
|
|
115
|
+
* @param request Renewal analytics request with filtering options / Filtre seçenekleri ile yenileme analitiği isteği
|
|
116
|
+
* @returns Renewal analytics response / Yenileme analitiği yanıtı
|
|
117
|
+
*/
|
|
118
|
+
getPolicyRenewalAnalytics(request: GetPolicyRenewalAnalyticsRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyRenewalAnalyticsResult>>;
|
|
119
|
+
/**
|
|
120
|
+
* Retrieves policy distribution by branch analytics data.
|
|
121
|
+
* Provides aggregated counts, gross premiums, and percentage shares grouped by product branch.
|
|
122
|
+
*
|
|
123
|
+
* Branş bazında poliçe dağılımı analitik verilerini getirir.
|
|
124
|
+
* Ürün branşına göre gruplanmış toplam adetler, brüt primler ve yüzde payları sağlar.
|
|
125
|
+
*
|
|
126
|
+
* @param request Distribution analytics request with filtering options / Filtre seçenekleri ile dağılım analitiği isteği
|
|
127
|
+
* @returns Distribution analytics response / Dağılım analitiği yanıtı
|
|
128
|
+
*/
|
|
129
|
+
getPolicyDistributionByBranch(request: GetPolicyDistributionByBranchRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyDistributionByBranchResult>>;
|
|
130
|
+
/**
|
|
131
|
+
* Retrieves representative earnings analytics data.
|
|
132
|
+
* Provides earnings breakdown grouped by representative for performance tracking.
|
|
133
|
+
*
|
|
134
|
+
* Temsilci kazanç analitik verilerini getirir.
|
|
135
|
+
* Performans takibi için temsilciye göre gruplanmış kazanç dökümü sağlar.
|
|
136
|
+
*
|
|
137
|
+
* @param request Representative earnings analytics request with filtering options / Filtre seçenekleri ile temsilci kazanç analitiği isteği
|
|
138
|
+
* @returns Representative earnings analytics response / Temsilci kazanç analitiği yanıtı
|
|
139
|
+
*/
|
|
140
|
+
getRepresentativeEarningsAnalytics(request: GetRepresentativeEarningsAnalyticsRequest, options?: RequestOptions): Promise<InsurUpResult<GetRepresentativeEarningsAnalyticsResult>>;
|
|
141
|
+
/**
|
|
142
|
+
* Retrieves detailed information about a specific policy transfer process including status and progress tracking.
|
|
143
|
+
*
|
|
144
|
+
* Durum ve ilerleme takibi dahil belirli bir poliçe transfer süreciyle ilgili detaylı bilgileri getirir.
|
|
145
|
+
*
|
|
146
|
+
* @param request - Policy transfer detail request
|
|
147
|
+
* @returns Policy transfer details
|
|
148
|
+
*/
|
|
149
|
+
getPolicyTransferDetail(request: GetPolicyTransferDetailRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyTransferDetailResult>>;
|
|
150
|
+
/**
|
|
151
|
+
* Retrieves specific trigger details for a policy transfer process to understand execution conditions and timing.
|
|
152
|
+
*
|
|
153
|
+
* Yürütme koşulları ve zamanlamasını anlamak için poliçe transfer sürecinin belirli tetikleyici detaylarını getirir.
|
|
154
|
+
*
|
|
155
|
+
* @param request - Policy transfer trigger detail request
|
|
156
|
+
* @returns Transfer trigger details
|
|
157
|
+
*/
|
|
158
|
+
getPolicyTransferTriggerDetail(request: GetPolicyTransferTriggerDetailRequest, options?: RequestOptions): Promise<InsurUpResult<GetPolicyTransferTriggerDetailResult>>;
|
|
159
|
+
/**
|
|
160
|
+
* Creates a new policy transfer request to move policies between agents, agencies, or systems with proper validation.
|
|
161
|
+
*
|
|
162
|
+
* Uygun doğrulama ile poliçeleri acenteler, acenteler veya sistemler arasında taşımak için yeni poliçe transfer talebi oluşturur.
|
|
163
|
+
*
|
|
164
|
+
* @param request - Policy transfer creation request
|
|
165
|
+
* @returns Created transfer identifier
|
|
166
|
+
*/
|
|
167
|
+
createPolicyTransfer(request: CreatePolicyTransferRequest, options?: RequestOptions): Promise<InsurUpResult<string>>;
|
|
168
|
+
/**
|
|
169
|
+
* Executes a prepared policy transfer, initiating the actual movement of policies according to the transfer configuration.
|
|
170
|
+
*
|
|
171
|
+
* Hazırlanmış poliçe transferini yürütür ve transfer yapılandırmasına göre poliçelerin gerçek hareketini başlatır.
|
|
172
|
+
*
|
|
173
|
+
* @param request - Policy transfer trigger request
|
|
174
|
+
* @returns Operation result
|
|
175
|
+
*/
|
|
176
|
+
triggerPolicyTransfer(request: TriggerPolicyTransferRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
177
|
+
/**
|
|
178
|
+
* Creates a file-based policy transfer by uploading a file containing policy information for bulk transfer operations.
|
|
179
|
+
*
|
|
180
|
+
* Toplu transfer işlemleri için poliçe bilgilerini içeren dosya yükleyerek dosya tabanlı poliçe transferi oluşturur.
|
|
181
|
+
*
|
|
182
|
+
* @param request - File-based transfer request
|
|
183
|
+
* @param file - File containing policy data
|
|
184
|
+
* @param fileName - Name of the uploaded file
|
|
185
|
+
* @returns Operation result
|
|
186
|
+
*/
|
|
187
|
+
createFilePolicyTransfer(request: CreateFilePolicyTransferRequest, file: File, fileName: string, options?: RequestOptions): Promise<InsurUpResult>;
|
|
188
|
+
/**
|
|
189
|
+
* Retrieves detailed information about a file-based policy transfer including processing status and results.
|
|
190
|
+
*
|
|
191
|
+
* İşleme durumu ve sonuçları dahil dosya tabanlı poliçe transferi hakkında detaylı bilgileri getirir.
|
|
192
|
+
*
|
|
193
|
+
* @param request - File policy transfer detail request
|
|
194
|
+
* @returns File transfer details
|
|
195
|
+
*/
|
|
196
|
+
getFilePolicyTransferDetail(request: GetFilePolicyTransferDetailRequest, options?: RequestOptions): Promise<InsurUpResult<GetFilePolicyTransferDetailResult>>;
|
|
197
|
+
/**
|
|
198
|
+
* Queries policies using GraphQL with advanced filtering, searching, sorting, and field selection.
|
|
199
|
+
* Supports cursor-based pagination and type-safe field selection.
|
|
200
|
+
*
|
|
201
|
+
* Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak poliçeleri sorgular.
|
|
202
|
+
* İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* // Basic query with all fields
|
|
206
|
+
* const result = await client.policies.getPolicies({ first: 10 });
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* // Type-safe field selection
|
|
210
|
+
* const result = await client.policies.getPolicies({
|
|
211
|
+
* select: ['id', 'productBranch', 'grossPremium', 'state'] as const,
|
|
212
|
+
* first: 10,
|
|
213
|
+
* filter: { state: { eq: PolicyState.Active } }
|
|
214
|
+
* });
|
|
215
|
+
*
|
|
216
|
+
* @param requestOptions Query options including pagination, filters, search, and field selection
|
|
217
|
+
* @returns Paginated connection of policies with type-narrowed fields
|
|
218
|
+
*/
|
|
219
|
+
getPolicies<const TFields extends PolicyFieldKey[]>(requestOptions?: GetPoliciesOptions<TFields>, options?: RequestOptions): Promise<InsurUpGraphQLResult<PoliciesConnection<TFields>>>;
|
|
220
|
+
/**
|
|
221
|
+
* Queries policy transfers using GraphQL with advanced filtering, searching, sorting, and field selection.
|
|
222
|
+
* Supports cursor-based pagination and type-safe field selection.
|
|
223
|
+
*
|
|
224
|
+
* Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak poliçe transferlerini sorgular.
|
|
225
|
+
* İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* // Basic query with all fields
|
|
229
|
+
* const result = await client.policies.getPolicyTransfers({ first: 10 });
|
|
230
|
+
*
|
|
231
|
+
* @param requestOptions Query options including pagination, filters, search, and field selection
|
|
232
|
+
* @returns Paginated connection of policy transfers with type-narrowed fields
|
|
233
|
+
*/
|
|
234
|
+
getPolicyTransfers<const TFields extends PolicyTransferFieldKey[]>(requestOptions?: GetPolicyTransfersOptions<TFields>, options?: RequestOptions): Promise<InsurUpGraphQLResult<PolicyTransfersConnection<TFields>>>;
|
|
235
|
+
/**
|
|
236
|
+
* Queries file policy transfers using GraphQL with advanced filtering, searching, sorting, and field selection.
|
|
237
|
+
* Supports cursor-based pagination and type-safe field selection.
|
|
238
|
+
*
|
|
239
|
+
* Gelişmiş filtreleme, arama, sıralama ve alan seçimi ile GraphQL kullanarak dosya bazlı poliçe transferlerini sorgular.
|
|
240
|
+
* İmleç tabanlı sayfalama ve tip-güvenli alan seçimini destekler.
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* // Basic query with all fields
|
|
244
|
+
* const result = await client.policies.getFilePolicyTransfers({ first: 10 });
|
|
245
|
+
*
|
|
246
|
+
* @param requestOptions Query options including pagination, filters, search, and field selection
|
|
247
|
+
* @returns Paginated connection of file policy transfers with type-narrowed fields
|
|
248
|
+
*/
|
|
249
|
+
getFilePolicyTransfers<const TFields extends FilePolicyTransferFieldKey[]>(requestOptions?: GetFilePolicyTransfersOptions<TFields>, options?: RequestOptions): Promise<InsurUpGraphQLResult<FilePolicyTransfersConnection<TFields>>>;
|
|
250
|
+
}
|
|
251
|
+
//# sourceMappingURL=policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/clients/policy.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,wCAAwC,EACxC,uCAAuC,EACvC,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,mCAAmC,EACnC,yCAAyC,EACzC,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC7B,qCAAqC,EACrC,oCAAoC,EACpC,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,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G;IACG,wBAAwB,CAC5B,OAAO,EAAE,+BAA+B,EACxC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC;IASzB;;;;;;;OAOG;IACG,2BAA2B,CAC/B,OAAO,EAAE,kCAAkC,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,aAAa,CAAC,iCAAiC,CAAC,CAAC;IAa5D;;;;;;;;;;;;;;;;;;;;;OAqBG;IACG,WAAW,CAAC,KAAK,CAAC,OAAO,SAAS,cAAc,EAAE,EACtD,cAAc,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;IAmF7D;;;;;;;;;;;;;OAaG;IACG,kBAAkB,CAAC,KAAK,CAAC,OAAO,SAAS,sBAAsB,EAAE,EACrE,cAAc,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC;IAmFpE;;;;;;;;;;;;;OAaG;IACG,sBAAsB,CAAC,KAAK,CAAC,OAAO,SAAS,0BAA0B,EAAE,EAC7E,cAAc,CAAC,EAAE,6BAA6B,CAAC,OAAO,CAAC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC,CAAC;CAkFzE"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Property Management Client
|
|
3
|
+
*
|
|
4
|
+
* Provides comprehensive property management operations for handling customer properties, Turkish address hierarchy queries,
|
|
5
|
+
* DASK earthquake insurance lookups, and property-based insurance operations within the real estate insurance ecosystem.
|
|
6
|
+
*
|
|
7
|
+
* Gayrimenkul sigorta ekosistemi içinde müşteri mülklerini yönetme, Türk adres hiyerarşisi sorguları, DASK deprem
|
|
8
|
+
* sigortası aramaları ve mülk tabanlı sigorta operasyonları için kapsamlı mülk yönetimi işlemlerini sağlar.
|
|
9
|
+
*/
|
|
10
|
+
import type { HttpTransport } from '../client/http.js';
|
|
11
|
+
import type { InsurUpResult } from '../core/result.js';
|
|
12
|
+
import type { RequestOptions } from '../core/options.js';
|
|
13
|
+
import type { InsuranceParameter } from '@insurup/contracts';
|
|
14
|
+
import type { QueryDistrictsRequest, QueryTownsRequest, QueryNeighbourhoodsRequest, QueryStreetsRequest, QueryBuildingsRequest, QueryApartmentsRequest, CreateCustomerPropertyRequest, UpdateCustomerPropertyRequest, CreateCustomerPropertyResult, GetCustomerPropertyByIdResult, GetAllCustomerPropertiesResult, QueryPropertyByDaskOldPolicyResult } from '@insurup/contracts';
|
|
15
|
+
import type { PropertyAddress } from '@insurup/contracts';
|
|
16
|
+
/**
|
|
17
|
+
* Property Management Client
|
|
18
|
+
*
|
|
19
|
+
* Specialized client for managing customer properties and Turkish address system integration within the InsurUp platform.
|
|
20
|
+
* Handles the complete Turkish administrative address hierarchy (City→District→Town→Neighborhood→Street→Building→Apartment),
|
|
21
|
+
* customer property lifecycle management, DASK earthquake insurance policy lookups, and property-based insurance operations.
|
|
22
|
+
* Essential for agencies offering property insurance products including home insurance (Konut), earthquake insurance (DASK),
|
|
23
|
+
* and commercial property coverage, requiring precise address validation and property identification within Turkey's
|
|
24
|
+
* administrative structure.
|
|
25
|
+
*
|
|
26
|
+
* InsurUp platformu içinde müşteri mülkleri ve Türk adres sistemi entegrasyonunu yönetmek için özelleşmiş istemci.
|
|
27
|
+
* Tam Türk idari adres hiyerarşisini (Şehir→İlçe→Kasaba→Mahalle→Sokak→Bina→Daire), müşteri mülk yaşam döngüsü yönetimini,
|
|
28
|
+
* DASK deprem sigortası poliçe aramalarını ve mülk tabanlı sigorta operasyonlarını yönetir. Ev sigortası (Konut), deprem
|
|
29
|
+
* sigortası (DASK) ve ticari mülk teminatı dahil mülk sigortası ürünleri sunan ve Türkiye'nin idari yapısı içinde hassas
|
|
30
|
+
* adres doğrulaması ve mülk tanımlaması gerektiren acenteler için olmazsa olmazdır.
|
|
31
|
+
*/
|
|
32
|
+
export declare class InsurUpPropertyClient {
|
|
33
|
+
private readonly http;
|
|
34
|
+
constructor(http: HttpTransport);
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves all cities (provinces) in Turkey for address selection and property location identification.
|
|
37
|
+
*
|
|
38
|
+
* Adres seçimi ve mülk konum tanımlaması için Türkiye'deki tüm şehirleri (illeri) getirir.
|
|
39
|
+
*
|
|
40
|
+
* @returns List of Turkish cities / Türk şehirleri listesi
|
|
41
|
+
*/
|
|
42
|
+
queryCities(options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves all districts within a specific city following the Turkish administrative hierarchy.
|
|
45
|
+
*
|
|
46
|
+
* Türk idari hiyerarşisini takip ederek belirli bir şehir içindeki tüm ilçeleri getirir.
|
|
47
|
+
*
|
|
48
|
+
* @param request District query request with city selection / Şehir seçimi ile ilçe sorgu talebi
|
|
49
|
+
* @returns List of districts in the selected city / Seçilen şehirdeki ilçeler listesi
|
|
50
|
+
*/
|
|
51
|
+
queryDistricts(request: QueryDistrictsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves all towns within a specific district for precise administrative location identification.
|
|
54
|
+
*
|
|
55
|
+
* Hassas idari konum tanımlaması için belirli bir ilçe içindeki tüm kasabaları getirir.
|
|
56
|
+
*
|
|
57
|
+
* @param request Town query request with district selection / İlçe seçimi ile kasaba sorgu talebi
|
|
58
|
+
* @returns List of towns in the selected district / Seçilen ilçedeki kasabalar listesi
|
|
59
|
+
*/
|
|
60
|
+
queryTowns(request: QueryTownsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves all neighborhoods within a specific administrative area for detailed address specification.
|
|
63
|
+
*
|
|
64
|
+
* Detaylı adres belirtimi için belirli bir idari alan içindeki tüm mahalleleri getirir.
|
|
65
|
+
*
|
|
66
|
+
* @param request Neighborhood query request / Mahalle sorgu talebi
|
|
67
|
+
* @returns List of neighborhoods / Mahalleler listesi
|
|
68
|
+
*/
|
|
69
|
+
queryNeighborhoods(request: QueryNeighbourhoodsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves all streets within a specific neighborhood for complete address formation.
|
|
72
|
+
*
|
|
73
|
+
* Tam adres oluşturma için belirli bir mahalle içindeki tüm sokakları getirir.
|
|
74
|
+
*
|
|
75
|
+
* @param request Street query request / Sokak sorgu talebi
|
|
76
|
+
* @returns List of streets / Sokaklar listesi
|
|
77
|
+
*/
|
|
78
|
+
queryStreets(request: QueryStreetsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves all buildings on a specific street for precise property identification and addressing.
|
|
81
|
+
*
|
|
82
|
+
* Hassas mülk tanımlaması ve adresleme için belirli bir sokaktaki tüm binaları getirir.
|
|
83
|
+
*
|
|
84
|
+
* @param request Building query request / Bina sorgu talebi
|
|
85
|
+
* @returns List of buildings / Binalar listesi
|
|
86
|
+
*/
|
|
87
|
+
queryBuildings(request: QueryBuildingsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves all apartments within a specific building for individual property unit identification.
|
|
90
|
+
*
|
|
91
|
+
* Bireysel mülk birimi tanımlaması için belirli bir bina içindeki tüm daireleri getirir.
|
|
92
|
+
*
|
|
93
|
+
* @param request Apartment query request / Daire sorgu talebi
|
|
94
|
+
* @returns List of apartments / Daireler listesi
|
|
95
|
+
*/
|
|
96
|
+
queryApartments(request: QueryApartmentsRequest, options?: RequestOptions): Promise<InsurUpResult<InsuranceParameter[]>>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates a new customer property record with complete address information and property characteristics for insurance purposes.
|
|
99
|
+
*
|
|
100
|
+
* Sigorta amaçları için tam adres bilgileri ve mülk özellikleri ile yeni müşteri mülk kaydı oluşturur.
|
|
101
|
+
*
|
|
102
|
+
* @param request Property creation request with details / Detaylar ile mülk oluşturma talebi
|
|
103
|
+
* @returns Created property information / Oluşturulan mülk bilgileri
|
|
104
|
+
*/
|
|
105
|
+
createCustomerProperty(request: CreateCustomerPropertyRequest, options?: RequestOptions): Promise<InsurUpResult<CreateCustomerPropertyResult>>;
|
|
106
|
+
/**
|
|
107
|
+
* Updates existing customer property information including address changes, structural modifications, or usage updates.
|
|
108
|
+
*
|
|
109
|
+
* Adres değişiklikleri, yapısal değişiklikler veya kullanım güncellemeleri dahil mevcut müşteri mülk bilgilerini günceller.
|
|
110
|
+
*
|
|
111
|
+
* @param request Property update request / Mülk güncelleme talebi
|
|
112
|
+
* @returns Operation result / İşlem sonucu
|
|
113
|
+
*/
|
|
114
|
+
updateCustomerProperty(request: UpdateCustomerPropertyRequest, options?: RequestOptions): Promise<InsurUpResult>;
|
|
115
|
+
/**
|
|
116
|
+
* Retrieves detailed information about a specific customer property including its insurance history and characteristics.
|
|
117
|
+
*
|
|
118
|
+
* Belirli bir müşteri mülkü hakkında sigorta geçmişi ve özellikleri dahil detaylı bilgileri getirir.
|
|
119
|
+
*
|
|
120
|
+
* @param customerId Unique identifier of the customer / Müşterinin benzersiz tanımlayıcısı
|
|
121
|
+
* @param propertyId Unique identifier of the property / Mülkün benzersiz tanımlayıcısı
|
|
122
|
+
* @returns Property details / Mülk detayları
|
|
123
|
+
*/
|
|
124
|
+
getCustomerPropertyById(customerId: string, propertyId: string, options?: RequestOptions): Promise<InsurUpResult<GetCustomerPropertyByIdResult>>;
|
|
125
|
+
/**
|
|
126
|
+
* Retrieves all properties owned by a specific customer for comprehensive property portfolio management.
|
|
127
|
+
*
|
|
128
|
+
* Kapsamlı mülk portföy yönetimi için belirli bir müşterinin sahip olduğu tüm mülkleri getirir.
|
|
129
|
+
*
|
|
130
|
+
* @param customerId Unique identifier of the customer / Müşterinin benzersiz tanımlayıcısı
|
|
131
|
+
* @returns List of customer properties / Müşteri mülkleri listesi
|
|
132
|
+
*/
|
|
133
|
+
getCustomerProperties(customerId: string, options?: RequestOptions): Promise<InsurUpResult<GetAllCustomerPropertiesResult[]>>;
|
|
134
|
+
/**
|
|
135
|
+
* Permanently removes a customer property record from the system with proper data cleanup and insurance impact assessment.
|
|
136
|
+
*
|
|
137
|
+
* Uygun veri temizliği ve sigorta etki değerlendirmesi ile müşteri mülk kaydını sistemden kalıcı olarak kaldırır.
|
|
138
|
+
*
|
|
139
|
+
* @param customerId Unique identifier of the customer / Müşterinin benzersiz tanımlayıcısı
|
|
140
|
+
* @param propertyId Unique identifier of the property / Mülkün benzersiz tanımlayıcısı
|
|
141
|
+
* @returns Operation result / İşlem sonucu
|
|
142
|
+
*/
|
|
143
|
+
deleteCustomerProperty(customerId: string, propertyId: string, options?: RequestOptions): Promise<InsurUpResult>;
|
|
144
|
+
/**
|
|
145
|
+
* Retrieves property address information using the official Turkish property registration number for verification purposes.
|
|
146
|
+
*
|
|
147
|
+
* Doğrulama amaçları için resmi Türk mülk kayıt numarasını kullanarak mülk adres bilgilerini getirir.
|
|
148
|
+
*
|
|
149
|
+
* @param propertyNumber Official Turkish property registration number / Resmi Türk mülk kayıt numarası
|
|
150
|
+
* @returns Property address information / Mülk adres bilgileri
|
|
151
|
+
*/
|
|
152
|
+
getPropertyAddressByPropertyNumber(propertyNumber: number, options?: RequestOptions): Promise<InsurUpResult<PropertyAddress>>;
|
|
153
|
+
/**
|
|
154
|
+
* Queries property information using an existing DASK earthquake insurance policy number for cross-reference and continuity.
|
|
155
|
+
*
|
|
156
|
+
* Çapraz referans ve süreklilik için mevcut DASK deprem sigortası poliçe numarasını kullanarak mülk bilgilerini sorgular.
|
|
157
|
+
*
|
|
158
|
+
* @param daskPolicyNumber DASK earthquake insurance policy number / DASK deprem sigortası poliçe numarası
|
|
159
|
+
* @returns Property information from DASK records / DASK kayıtlarından mülk bilgileri
|
|
160
|
+
*/
|
|
161
|
+
queryPropertyByDaskOldPolicy(daskPolicyNumber: number, options?: RequestOptions): Promise<InsurUpResult<QueryPropertyByDaskOldPolicyResult>>;
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=property.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../src/clients/property.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAEV,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EAGtB,6BAA6B,EAC7B,6BAA6B,EAI7B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,qBAAqB;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,aAAa;IAIhD;;;;;;OAMG;IACG,WAAW,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAIzF;;;;;;;OAOG;IACG,cAAc,C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