@23blocks/angular 1.1.1 → 1.1.3
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 +1 -0
- package/dist/index.esm.js +4230 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/assets/assets.service.d.ts +58 -0
- package/dist/src/lib/assets/assets.service.d.ts.map +1 -0
- package/dist/{lib/assets/index.js → src/lib/assets/index.d.ts} +1 -2
- package/dist/src/lib/assets/index.d.ts.map +1 -0
- package/dist/src/lib/authentication/authentication.service.d.ts +105 -0
- package/dist/src/lib/authentication/authentication.service.d.ts.map +1 -0
- package/dist/{lib/authentication/index.js → src/lib/authentication/index.d.ts} +1 -2
- package/dist/src/lib/authentication/index.d.ts.map +1 -0
- package/dist/src/lib/campaigns/campaigns.service.d.ts +66 -0
- package/dist/src/lib/campaigns/campaigns.service.d.ts.map +1 -0
- package/dist/{lib/campaigns/index.js → src/lib/campaigns/index.d.ts} +1 -2
- package/dist/src/lib/campaigns/index.d.ts.map +1 -0
- package/dist/src/lib/company/company.service.d.ts +65 -0
- package/dist/src/lib/company/company.service.d.ts.map +1 -0
- package/dist/{lib/company/index.js → src/lib/company/index.d.ts} +1 -2
- package/dist/src/lib/company/index.d.ts.map +1 -0
- package/dist/src/lib/content/content.service.d.ts +67 -0
- package/dist/src/lib/content/content.service.d.ts.map +1 -0
- package/dist/{lib/content/index.js → src/lib/content/index.d.ts} +1 -2
- package/dist/src/lib/content/index.d.ts.map +1 -0
- package/dist/src/lib/conversations/conversations.service.d.ts +74 -0
- package/dist/src/lib/conversations/conversations.service.d.ts.map +1 -0
- package/dist/{lib/conversations/index.js → src/lib/conversations/index.d.ts} +1 -2
- package/dist/src/lib/conversations/index.d.ts.map +1 -0
- package/dist/src/lib/crm/crm.service.d.ts +84 -0
- package/dist/src/lib/crm/crm.service.d.ts.map +1 -0
- package/dist/{lib/crm/index.js → src/lib/crm/index.d.ts} +1 -2
- package/dist/src/lib/crm/index.d.ts.map +1 -0
- package/dist/src/lib/files/files.service.d.ts +62 -0
- package/dist/src/lib/files/files.service.d.ts.map +1 -0
- package/dist/{lib/files/index.js → src/lib/files/index.d.ts} +1 -2
- package/dist/src/lib/files/index.d.ts.map +1 -0
- package/dist/src/lib/forms/forms.service.d.ts +60 -0
- package/dist/src/lib/forms/forms.service.d.ts.map +1 -0
- package/dist/src/lib/forms/index.d.ts +2 -0
- package/dist/src/lib/forms/index.d.ts.map +1 -0
- package/dist/src/lib/geolocation/geolocation.service.d.ts +93 -0
- package/dist/src/lib/geolocation/geolocation.service.d.ts.map +1 -0
- package/dist/{lib/geolocation/index.js → src/lib/geolocation/index.d.ts} +1 -2
- package/dist/src/lib/geolocation/index.d.ts.map +1 -0
- package/dist/src/lib/index.d.ts +22 -0
- package/dist/src/lib/index.d.ts.map +1 -0
- package/dist/{lib/jarvis/index.js → src/lib/jarvis/index.d.ts} +1 -2
- package/dist/src/lib/jarvis/index.d.ts.map +1 -0
- package/dist/src/lib/jarvis/jarvis.service.d.ts +69 -0
- package/dist/src/lib/jarvis/jarvis.service.d.ts.map +1 -0
- package/dist/{lib/onboarding/index.js → src/lib/onboarding/index.d.ts} +1 -2
- package/dist/src/lib/onboarding/index.d.ts.map +1 -0
- package/dist/src/lib/onboarding/onboarding.service.d.ts +68 -0
- package/dist/src/lib/onboarding/onboarding.service.d.ts.map +1 -0
- package/dist/{lib/products/index.js → src/lib/products/index.d.ts} +1 -2
- package/dist/src/lib/products/index.d.ts.map +1 -0
- package/dist/src/lib/products/products.service.d.ts +101 -0
- package/dist/src/lib/products/products.service.d.ts.map +1 -0
- package/dist/src/lib/providers.d.ts +97 -0
- package/dist/src/lib/providers.d.ts.map +1 -0
- package/dist/{lib/rewards/index.js → src/lib/rewards/index.d.ts} +1 -2
- package/dist/src/lib/rewards/index.d.ts.map +1 -0
- package/dist/src/lib/rewards/rewards.service.d.ts +62 -0
- package/dist/src/lib/rewards/rewards.service.d.ts.map +1 -0
- package/dist/{lib/sales/index.js → src/lib/sales/index.d.ts} +1 -2
- package/dist/src/lib/sales/index.d.ts.map +1 -0
- package/dist/src/lib/sales/sales.service.d.ts +62 -0
- package/dist/src/lib/sales/sales.service.d.ts.map +1 -0
- package/dist/{lib/search/index.js → src/lib/search/index.d.ts} +1 -2
- package/dist/src/lib/search/index.d.ts.map +1 -0
- package/dist/src/lib/search/search.service.d.ts +80 -0
- package/dist/src/lib/search/search.service.d.ts.map +1 -0
- package/dist/src/lib/simple-providers.d.ts +202 -0
- package/dist/src/lib/simple-providers.d.ts.map +1 -0
- package/dist/src/lib/tokens.d.ts +114 -0
- package/dist/src/lib/tokens.d.ts.map +1 -0
- package/dist/{lib/university/index.js → src/lib/university/index.d.ts} +1 -2
- package/dist/src/lib/university/index.d.ts.map +1 -0
- package/dist/src/lib/university/university.service.d.ts +75 -0
- package/dist/src/lib/university/university.service.d.ts.map +1 -0
- package/dist/{lib/wallet/index.js → src/lib/wallet/index.d.ts} +1 -2
- package/dist/src/lib/wallet/index.d.ts.map +1 -0
- package/dist/src/lib/wallet/wallet.service.d.ts +60 -0
- package/dist/src/lib/wallet/wallet.service.d.ts.map +1 -0
- package/package.json +10 -8
- package/dist/index.js +0 -3
- package/dist/index.js.map +0 -1
- package/dist/lib/assets/assets.service.js +0 -123
- package/dist/lib/assets/assets.service.js.map +0 -1
- package/dist/lib/assets/index.js.map +0 -1
- package/dist/lib/authentication/authentication.service.js +0 -209
- package/dist/lib/authentication/authentication.service.js.map +0 -1
- package/dist/lib/authentication/index.js.map +0 -1
- package/dist/lib/campaigns/campaigns.service.js +0 -150
- package/dist/lib/campaigns/campaigns.service.js.map +0 -1
- package/dist/lib/campaigns/index.js.map +0 -1
- package/dist/lib/company/company.service.js +0 -150
- package/dist/lib/company/company.service.js.map +0 -1
- package/dist/lib/company/index.js.map +0 -1
- package/dist/lib/content/content.service.js +0 -153
- package/dist/lib/content/content.service.js.map +0 -1
- package/dist/lib/content/index.js.map +0 -1
- package/dist/lib/conversations/conversations.service.js +0 -177
- package/dist/lib/conversations/conversations.service.js.map +0 -1
- package/dist/lib/conversations/index.js.map +0 -1
- package/dist/lib/crm/crm.service.js +0 -210
- package/dist/lib/crm/crm.service.js.map +0 -1
- package/dist/lib/crm/index.js.map +0 -1
- package/dist/lib/files/files.service.js +0 -120
- package/dist/lib/files/files.service.js.map +0 -1
- package/dist/lib/files/index.js.map +0 -1
- package/dist/lib/forms/forms.service.js +0 -132
- package/dist/lib/forms/forms.service.js.map +0 -1
- package/dist/lib/forms/index.js +0 -3
- package/dist/lib/forms/index.js.map +0 -1
- package/dist/lib/geolocation/geolocation.service.js +0 -240
- package/dist/lib/geolocation/geolocation.service.js.map +0 -1
- package/dist/lib/geolocation/index.js.map +0 -1
- package/dist/lib/index.js +0 -36
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/jarvis/index.js.map +0 -1
- package/dist/lib/jarvis/jarvis.service.js +0 -162
- package/dist/lib/jarvis/jarvis.service.js.map +0 -1
- package/dist/lib/onboarding/index.js.map +0 -1
- package/dist/lib/onboarding/onboarding.service.js +0 -132
- package/dist/lib/onboarding/onboarding.service.js.map +0 -1
- package/dist/lib/products/index.js.map +0 -1
- package/dist/lib/products/products.service.js +0 -255
- package/dist/lib/products/products.service.js.map +0 -1
- package/dist/lib/providers.js +0 -286
- package/dist/lib/providers.js.map +0 -1
- package/dist/lib/rewards/index.js.map +0 -1
- package/dist/lib/rewards/rewards.service.js +0 -138
- package/dist/lib/rewards/rewards.service.js.map +0 -1
- package/dist/lib/sales/index.js.map +0 -1
- package/dist/lib/sales/sales.service.js +0 -138
- package/dist/lib/sales/sales.service.js.map +0 -1
- package/dist/lib/search/index.js.map +0 -1
- package/dist/lib/search/search.service.js +0 -106
- package/dist/lib/search/search.service.js.map +0 -1
- package/dist/lib/simple-providers.js +0 -498
- package/dist/lib/simple-providers.js.map +0 -1
- package/dist/lib/tokens.js +0 -85
- package/dist/lib/tokens.js.map +0 -1
- package/dist/lib/university/index.js.map +0 -1
- package/dist/lib/university/university.service.js +0 -174
- package/dist/lib/university/university.service.js.map +0 -1
- package/dist/lib/wallet/index.js.map +0 -1
- package/dist/lib/wallet/wallet.service.js +0 -111
- package/dist/lib/wallet/wallet.service.js.map +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type CrmBlock, type CrmBlockConfig, type Account, type CreateAccountRequest, type UpdateAccountRequest, type ListAccountsParams, type Contact, type CreateContactRequest, type UpdateContactRequest, type ListContactsParams, type Lead, type CreateLeadRequest, type UpdateLeadRequest, type ListLeadsParams, type Opportunity, type CreateOpportunityRequest, type UpdateOpportunityRequest, type ListOpportunitiesParams, type Meeting, type CreateMeetingRequest, type UpdateMeetingRequest, type ListMeetingsParams, type Quote, type CreateQuoteRequest, type UpdateQuoteRequest, type ListQuotesParams } from '@23blocks/block-crm';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the CRM block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class AccountsComponent {
|
|
12
|
+
* constructor(private crm: CrmService) {}
|
|
13
|
+
*
|
|
14
|
+
* loadAccounts() {
|
|
15
|
+
* this.crm.listAccounts({ page: 1, perPage: 20 }).subscribe({
|
|
16
|
+
* next: (result) => console.log('Accounts:', result.data),
|
|
17
|
+
* error: (err) => console.error('Failed:', err),
|
|
18
|
+
* });
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class CrmService {
|
|
24
|
+
private readonly block;
|
|
25
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: CrmBlockConfig);
|
|
26
|
+
/**
|
|
27
|
+
* Ensure the service is configured, throw helpful error if not
|
|
28
|
+
*/
|
|
29
|
+
private ensureConfigured;
|
|
30
|
+
listAccounts(params?: ListAccountsParams): Observable<PageResult<Account>>;
|
|
31
|
+
getAccount(uniqueId: string): Observable<Account>;
|
|
32
|
+
createAccount(data: CreateAccountRequest): Observable<Account>;
|
|
33
|
+
updateAccount(uniqueId: string, data: UpdateAccountRequest): Observable<Account>;
|
|
34
|
+
deleteAccount(uniqueId: string): Observable<void>;
|
|
35
|
+
recoverAccount(uniqueId: string): Observable<Account>;
|
|
36
|
+
searchAccounts(query: string, params?: ListAccountsParams): Observable<PageResult<Account>>;
|
|
37
|
+
listDeletedAccounts(params?: ListAccountsParams): Observable<PageResult<Account>>;
|
|
38
|
+
listContacts(params?: ListContactsParams): Observable<PageResult<Contact>>;
|
|
39
|
+
getContact(uniqueId: string): Observable<Contact>;
|
|
40
|
+
createContact(data: CreateContactRequest): Observable<Contact>;
|
|
41
|
+
updateContact(uniqueId: string, data: UpdateContactRequest): Observable<Contact>;
|
|
42
|
+
deleteContact(uniqueId: string): Observable<void>;
|
|
43
|
+
recoverContact(uniqueId: string): Observable<Contact>;
|
|
44
|
+
searchContacts(query: string, params?: ListContactsParams): Observable<PageResult<Contact>>;
|
|
45
|
+
listDeletedContacts(params?: ListContactsParams): Observable<PageResult<Contact>>;
|
|
46
|
+
listLeads(params?: ListLeadsParams): Observable<PageResult<Lead>>;
|
|
47
|
+
getLead(uniqueId: string): Observable<Lead>;
|
|
48
|
+
createLead(data: CreateLeadRequest): Observable<Lead>;
|
|
49
|
+
updateLead(uniqueId: string, data: UpdateLeadRequest): Observable<Lead>;
|
|
50
|
+
deleteLead(uniqueId: string): Observable<void>;
|
|
51
|
+
recoverLead(uniqueId: string): Observable<Lead>;
|
|
52
|
+
searchLeads(query: string, params?: ListLeadsParams): Observable<PageResult<Lead>>;
|
|
53
|
+
listDeletedLeads(params?: ListLeadsParams): Observable<PageResult<Lead>>;
|
|
54
|
+
listOpportunities(params?: ListOpportunitiesParams): Observable<PageResult<Opportunity>>;
|
|
55
|
+
getOpportunity(uniqueId: string): Observable<Opportunity>;
|
|
56
|
+
createOpportunity(data: CreateOpportunityRequest): Observable<Opportunity>;
|
|
57
|
+
updateOpportunity(uniqueId: string, data: UpdateOpportunityRequest): Observable<Opportunity>;
|
|
58
|
+
deleteOpportunity(uniqueId: string): Observable<void>;
|
|
59
|
+
recoverOpportunity(uniqueId: string): Observable<Opportunity>;
|
|
60
|
+
searchOpportunities(query: string, params?: ListOpportunitiesParams): Observable<PageResult<Opportunity>>;
|
|
61
|
+
listDeletedOpportunities(params?: ListOpportunitiesParams): Observable<PageResult<Opportunity>>;
|
|
62
|
+
listMeetings(params?: ListMeetingsParams): Observable<PageResult<Meeting>>;
|
|
63
|
+
getMeeting(uniqueId: string): Observable<Meeting>;
|
|
64
|
+
createMeeting(data: CreateMeetingRequest): Observable<Meeting>;
|
|
65
|
+
updateMeeting(uniqueId: string, data: UpdateMeetingRequest): Observable<Meeting>;
|
|
66
|
+
deleteMeeting(uniqueId: string): Observable<void>;
|
|
67
|
+
recoverMeeting(uniqueId: string): Observable<Meeting>;
|
|
68
|
+
searchMeetings(query: string, params?: ListMeetingsParams): Observable<PageResult<Meeting>>;
|
|
69
|
+
listDeletedMeetings(params?: ListMeetingsParams): Observable<PageResult<Meeting>>;
|
|
70
|
+
listQuotes(params?: ListQuotesParams): Observable<PageResult<Quote>>;
|
|
71
|
+
getQuote(uniqueId: string): Observable<Quote>;
|
|
72
|
+
createQuote(data: CreateQuoteRequest): Observable<Quote>;
|
|
73
|
+
updateQuote(uniqueId: string, data: UpdateQuoteRequest): Observable<Quote>;
|
|
74
|
+
deleteQuote(uniqueId: string): Observable<void>;
|
|
75
|
+
recoverQuote(uniqueId: string): Observable<Quote>;
|
|
76
|
+
searchQuotes(query: string, params?: ListQuotesParams): Observable<PageResult<Quote>>;
|
|
77
|
+
listDeletedQuotes(params?: ListQuotesParams): Observable<PageResult<Quote>>;
|
|
78
|
+
/**
|
|
79
|
+
* Access the underlying block for advanced operations
|
|
80
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
81
|
+
*/
|
|
82
|
+
get rawBlock(): CrmBlock;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=crm.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crm.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/crm/crm.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,OAAO,EAEZ,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,OAAO,EAEZ,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACT,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAG7B;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;gBAGH,gBAAgB,EAAE,SAAS,GAAG,IAAI,EACtC,eAAe,EAAE,SAAS,GAAG,IAAI,EAC5C,MAAM,EAAE,cAAc;IAM5C;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAcxB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB,GA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AAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAI/C,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IAIjD,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,gBAAgB,GAAG,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAIrF,iBAAiB,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAQ3E;;;OAGG;IACH,IAAI,QAAQ,IAAI,QAAQ,CAEvB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/crm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type FilesBlock, type FilesBlockConfig, type StorageFile, type CreateStorageFileRequest, type UpdateStorageFileRequest, type ListStorageFilesParams, type UploadFileRequest, type EntityFile, type AttachFileRequest, type UpdateEntityFileRequest, type ListEntityFilesParams, type ReorderFilesRequest, type FileSchema, type CreateFileSchemaRequest, type UpdateFileSchemaRequest, type ListFileSchemasParams } from '@23blocks/block-files';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the Files block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class FileUploadComponent {
|
|
12
|
+
* constructor(private files: FilesService) {}
|
|
13
|
+
*
|
|
14
|
+
* uploadFile(file: File) {
|
|
15
|
+
* this.files.uploadStorageFile({
|
|
16
|
+
* file,
|
|
17
|
+
* fileName: file.name,
|
|
18
|
+
* ownerUniqueId: 'user-123',
|
|
19
|
+
* ownerType: 'User',
|
|
20
|
+
* }).subscribe({
|
|
21
|
+
* next: (storageFile) => console.log('Uploaded:', storageFile),
|
|
22
|
+
* error: (err) => console.error('Failed:', err),
|
|
23
|
+
* });
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class FilesService {
|
|
29
|
+
private readonly block;
|
|
30
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: FilesBlockConfig);
|
|
31
|
+
/**
|
|
32
|
+
* Ensure the service is configured, throw helpful error if not
|
|
33
|
+
*/
|
|
34
|
+
private ensureConfigured;
|
|
35
|
+
listStorageFiles(params?: ListStorageFilesParams): Observable<PageResult<StorageFile>>;
|
|
36
|
+
getStorageFile(uniqueId: string): Observable<StorageFile>;
|
|
37
|
+
uploadStorageFile(data: UploadFileRequest): Observable<StorageFile>;
|
|
38
|
+
createStorageFile(data: CreateStorageFileRequest): Observable<StorageFile>;
|
|
39
|
+
updateStorageFile(uniqueId: string, data: UpdateStorageFileRequest): Observable<StorageFile>;
|
|
40
|
+
deleteStorageFile(uniqueId: string): Observable<void>;
|
|
41
|
+
downloadStorageFile(uniqueId: string): Observable<Blob>;
|
|
42
|
+
listStorageFilesByOwner(ownerUniqueId: string, ownerType: string, params?: ListStorageFilesParams): Observable<PageResult<StorageFile>>;
|
|
43
|
+
listEntityFiles(params?: ListEntityFilesParams): Observable<PageResult<EntityFile>>;
|
|
44
|
+
getEntityFile(uniqueId: string): Observable<EntityFile>;
|
|
45
|
+
attachFile(data: AttachFileRequest): Observable<EntityFile>;
|
|
46
|
+
detachFile(uniqueId: string): Observable<void>;
|
|
47
|
+
updateEntityFile(uniqueId: string, data: UpdateEntityFileRequest): Observable<EntityFile>;
|
|
48
|
+
reorderEntityFiles(entityUniqueId: string, entityType: string, data: ReorderFilesRequest): Observable<EntityFile[]>;
|
|
49
|
+
listEntityFilesByEntity(entityUniqueId: string, entityType: string, params?: ListEntityFilesParams): Observable<PageResult<EntityFile>>;
|
|
50
|
+
listFileSchemas(params?: ListFileSchemasParams): Observable<PageResult<FileSchema>>;
|
|
51
|
+
getFileSchema(uniqueId: string): Observable<FileSchema>;
|
|
52
|
+
getFileSchemaByCode(code: string): Observable<FileSchema>;
|
|
53
|
+
createFileSchema(data: CreateFileSchemaRequest): Observable<FileSchema>;
|
|
54
|
+
updateFileSchema(uniqueId: string, data: UpdateFileSchemaRequest): Observable<FileSchema>;
|
|
55
|
+
deleteFileSchema(uniqueId: string): Observable<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Access the underlying block for advanced operations
|
|
58
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
59
|
+
*/
|
|
60
|
+
get rawBlock(): FilesBlock;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=files.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"files.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/files/files.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAG/B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,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,UAAU,CAAC;IAIzF,kBAAkB,CAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,UAAU,EAAE,CAAC;IAI3B,uBAAuB,CACrB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,qBAAqB,GAC7B,UAAU,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAQrC,eAAe,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,UAAU,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAInF,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC;IAIvD,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC;IAIzD,gBAAgB,CAAC,IAAI,EAAE,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC;IAIvE,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC;IAIzF,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAQpD;;;OAGG;IACH,IAAI,QAAQ,IAAI,UAAU,CAEzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type FormsBlock, type FormsBlockConfig, type Form, type CreateFormRequest, type UpdateFormRequest, type ListFormsParams, type FormSchema, type CreateFormSchemaRequest, type UpdateFormSchemaRequest, type ListFormSchemasParams, type FormInstance, type CreateFormInstanceRequest, type UpdateFormInstanceRequest, type SubmitFormInstanceRequest, type ListFormInstancesParams, type FormSet, type CreateFormSetRequest, type UpdateFormSetRequest, type ListFormSetsParams } from '@23blocks/block-forms';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the Forms block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class FormComponent {
|
|
12
|
+
* constructor(private formsService: FormsService) {}
|
|
13
|
+
*
|
|
14
|
+
* loadForms() {
|
|
15
|
+
* this.formsService.listForms().subscribe({
|
|
16
|
+
* next: (result) => console.log('Forms:', result.data),
|
|
17
|
+
* error: (err) => console.error('Failed:', err),
|
|
18
|
+
* });
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class FormsService {
|
|
24
|
+
private readonly block;
|
|
25
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: FormsBlockConfig);
|
|
26
|
+
/**
|
|
27
|
+
* Ensure the service is configured, throw helpful error if not
|
|
28
|
+
*/
|
|
29
|
+
private ensureConfigured;
|
|
30
|
+
listForms(params?: ListFormsParams): Observable<PageResult<Form>>;
|
|
31
|
+
getForm(uniqueId: string): Observable<Form>;
|
|
32
|
+
createForm(data: CreateFormRequest): Observable<Form>;
|
|
33
|
+
updateForm(uniqueId: string, data: UpdateFormRequest): Observable<Form>;
|
|
34
|
+
deleteForm(uniqueId: string): Observable<void>;
|
|
35
|
+
listFormSchemas(params?: ListFormSchemasParams): Observable<PageResult<FormSchema>>;
|
|
36
|
+
getFormSchema(uniqueId: string): Observable<FormSchema>;
|
|
37
|
+
createFormSchema(data: CreateFormSchemaRequest): Observable<FormSchema>;
|
|
38
|
+
updateFormSchema(uniqueId: string, data: UpdateFormSchemaRequest): Observable<FormSchema>;
|
|
39
|
+
deleteFormSchema(uniqueId: string): Observable<void>;
|
|
40
|
+
getLatestFormSchemaVersion(formUniqueId: string): Observable<FormSchema>;
|
|
41
|
+
listFormInstances(params?: ListFormInstancesParams): Observable<PageResult<FormInstance>>;
|
|
42
|
+
getFormInstance(uniqueId: string): Observable<FormInstance>;
|
|
43
|
+
createFormInstance(data: CreateFormInstanceRequest): Observable<FormInstance>;
|
|
44
|
+
updateFormInstance(uniqueId: string, data: UpdateFormInstanceRequest): Observable<FormInstance>;
|
|
45
|
+
deleteFormInstance(uniqueId: string): Observable<void>;
|
|
46
|
+
submitFormInstance(data: SubmitFormInstanceRequest): Observable<FormInstance>;
|
|
47
|
+
listFormInstancesByUser(userUniqueId: string, params?: ListFormInstancesParams): Observable<PageResult<FormInstance>>;
|
|
48
|
+
listFormInstancesBySchema(formSchemaUniqueId: string, params?: ListFormInstancesParams): Observable<PageResult<FormInstance>>;
|
|
49
|
+
listFormSets(params?: ListFormSetsParams): Observable<PageResult<FormSet>>;
|
|
50
|
+
getFormSet(uniqueId: string): Observable<FormSet>;
|
|
51
|
+
createFormSet(data: CreateFormSetRequest): Observable<FormSet>;
|
|
52
|
+
updateFormSet(uniqueId: string, data: UpdateFormSetRequest): Observable<FormSet>;
|
|
53
|
+
deleteFormSet(uniqueId: string): Observable<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Access the underlying block for advanced operations
|
|
56
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
57
|
+
*/
|
|
58
|
+
get rawBlock(): FormsBlock;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=forms.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/forms/forms.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,UAAU,EAC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AAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAQjD;;;OAGG;IACH,IAAI,QAAQ,IAAI,UAAU,CAEzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type GeolocationBlock, type GeolocationBlockConfig, type Location, type CreateLocationRequest, type UpdateLocationRequest, type ListLocationsParams, type Address, type CreateAddressRequest, type UpdateAddressRequest, type ListAddressesParams, type Area, type CreateAreaRequest, type UpdateAreaRequest, type ListAreasParams, type Region, type CreateRegionRequest, type UpdateRegionRequest, type ListRegionsParams, type TravelRoute, type CreateTravelRouteRequest, type UpdateTravelRouteRequest, type ListTravelRoutesParams, type PremiseBooking, type CreatePremiseBookingRequest, type UpdatePremiseBookingRequest, type ListPremiseBookingsParams, type Premise, type CreatePremiseRequest, type UpdatePremiseRequest, type ListPremisesParams } from '@23blocks/block-geolocation';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the Geolocation block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class MapComponent {
|
|
12
|
+
* constructor(private geolocation: GeolocationService) {}
|
|
13
|
+
*
|
|
14
|
+
* loadLocations() {
|
|
15
|
+
* this.geolocation.listLocations().subscribe({
|
|
16
|
+
* next: (result) => console.log('Locations:', result.data),
|
|
17
|
+
* error: (err) => console.error('Failed:', err),
|
|
18
|
+
* });
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class GeolocationService {
|
|
24
|
+
private readonly block;
|
|
25
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: GeolocationBlockConfig);
|
|
26
|
+
/**
|
|
27
|
+
* Ensure the service is configured, throw helpful error if not
|
|
28
|
+
*/
|
|
29
|
+
private ensureConfigured;
|
|
30
|
+
listLocations(params?: ListLocationsParams): Observable<PageResult<Location>>;
|
|
31
|
+
getLocation(uniqueId: string): Observable<Location>;
|
|
32
|
+
createLocation(data: CreateLocationRequest): Observable<Location>;
|
|
33
|
+
updateLocation(uniqueId: string, data: UpdateLocationRequest): Observable<Location>;
|
|
34
|
+
deleteLocation(uniqueId: string): Observable<void>;
|
|
35
|
+
recoverLocation(uniqueId: string): Observable<Location>;
|
|
36
|
+
searchLocations(query: string, params?: ListLocationsParams): Observable<PageResult<Location>>;
|
|
37
|
+
listDeletedLocations(params?: ListLocationsParams): Observable<PageResult<Location>>;
|
|
38
|
+
listAddresses(params?: ListAddressesParams): Observable<PageResult<Address>>;
|
|
39
|
+
getAddress(uniqueId: string): Observable<Address>;
|
|
40
|
+
createAddress(data: CreateAddressRequest): Observable<Address>;
|
|
41
|
+
updateAddress(uniqueId: string, data: UpdateAddressRequest): Observable<Address>;
|
|
42
|
+
deleteAddress(uniqueId: string): Observable<void>;
|
|
43
|
+
recoverAddress(uniqueId: string): Observable<Address>;
|
|
44
|
+
searchAddresses(query: string, params?: ListAddressesParams): Observable<PageResult<Address>>;
|
|
45
|
+
listDeletedAddresses(params?: ListAddressesParams): Observable<PageResult<Address>>;
|
|
46
|
+
setDefaultAddress(uniqueId: string): Observable<Address>;
|
|
47
|
+
listAreas(params?: ListAreasParams): Observable<PageResult<Area>>;
|
|
48
|
+
getArea(uniqueId: string): Observable<Area>;
|
|
49
|
+
createArea(data: CreateAreaRequest): Observable<Area>;
|
|
50
|
+
updateArea(uniqueId: string, data: UpdateAreaRequest): Observable<Area>;
|
|
51
|
+
deleteArea(uniqueId: string): Observable<void>;
|
|
52
|
+
recoverArea(uniqueId: string): Observable<Area>;
|
|
53
|
+
searchAreas(query: string, params?: ListAreasParams): Observable<PageResult<Area>>;
|
|
54
|
+
listDeletedAreas(params?: ListAreasParams): Observable<PageResult<Area>>;
|
|
55
|
+
listRegions(params?: ListRegionsParams): Observable<PageResult<Region>>;
|
|
56
|
+
getRegion(uniqueId: string): Observable<Region>;
|
|
57
|
+
createRegion(data: CreateRegionRequest): Observable<Region>;
|
|
58
|
+
updateRegion(uniqueId: string, data: UpdateRegionRequest): Observable<Region>;
|
|
59
|
+
deleteRegion(uniqueId: string): Observable<void>;
|
|
60
|
+
recoverRegion(uniqueId: string): Observable<Region>;
|
|
61
|
+
searchRegions(query: string, params?: ListRegionsParams): Observable<PageResult<Region>>;
|
|
62
|
+
listDeletedRegions(params?: ListRegionsParams): Observable<PageResult<Region>>;
|
|
63
|
+
listRoutes(params?: ListTravelRoutesParams): Observable<PageResult<TravelRoute>>;
|
|
64
|
+
getRoute(uniqueId: string): Observable<TravelRoute>;
|
|
65
|
+
createRoute(data: CreateTravelRouteRequest): Observable<TravelRoute>;
|
|
66
|
+
updateRoute(uniqueId: string, data: UpdateTravelRouteRequest): Observable<TravelRoute>;
|
|
67
|
+
deleteRoute(uniqueId: string): Observable<void>;
|
|
68
|
+
recoverRoute(uniqueId: string): Observable<TravelRoute>;
|
|
69
|
+
searchRoutes(query: string, params?: ListTravelRoutesParams): Observable<PageResult<TravelRoute>>;
|
|
70
|
+
listDeletedRoutes(params?: ListTravelRoutesParams): Observable<PageResult<TravelRoute>>;
|
|
71
|
+
listBookings(params?: ListPremiseBookingsParams): Observable<PageResult<PremiseBooking>>;
|
|
72
|
+
getBooking(uniqueId: string): Observable<PremiseBooking>;
|
|
73
|
+
createBooking(data: CreatePremiseBookingRequest): Observable<PremiseBooking>;
|
|
74
|
+
updateBooking(uniqueId: string, data: UpdatePremiseBookingRequest): Observable<PremiseBooking>;
|
|
75
|
+
deleteBooking(uniqueId: string): Observable<void>;
|
|
76
|
+
recoverBooking(uniqueId: string): Observable<PremiseBooking>;
|
|
77
|
+
searchBookings(query: string, params?: ListPremiseBookingsParams): Observable<PageResult<PremiseBooking>>;
|
|
78
|
+
listDeletedBookings(params?: ListPremiseBookingsParams): Observable<PageResult<PremiseBooking>>;
|
|
79
|
+
listPremises(params?: ListPremisesParams): Observable<PageResult<Premise>>;
|
|
80
|
+
getPremise(uniqueId: string): Observable<Premise>;
|
|
81
|
+
createPremise(data: CreatePremiseRequest): Observable<Premise>;
|
|
82
|
+
updatePremise(uniqueId: string, data: UpdatePremiseRequest): Observable<Premise>;
|
|
83
|
+
deletePremise(uniqueId: string): Observable<void>;
|
|
84
|
+
recoverPremise(uniqueId: string): Observable<Premise>;
|
|
85
|
+
searchPremises(query: string, params?: ListPremisesParams): Observable<PageResult<Premise>>;
|
|
86
|
+
listDeletedPremises(params?: ListPremisesParams): Observable<PageResult<Premise>>;
|
|
87
|
+
/**
|
|
88
|
+
* Access the underlying block for advanced operations
|
|
89
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
90
|
+
*/
|
|
91
|
+
get rawBlock(): GeolocationBlock;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=geolocation.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geolocation.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/geolocation/geolocation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,oBA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OAAO,CAAC,CAAC;IAI1E,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAIjD,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,UAAU,CAAC,OAAO,CAAC;IAI9D,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAIjD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAIrD,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAI3F,mBAAmB,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAQjF;;;OAGG;IACH,IAAI,QAAQ,IAAI,gBAAgB,CAE/B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/geolocation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { provideBlocks23, getBlocks23Providers, type ProviderConfig, type ServiceUrls, type AuthMode, type StorageType, type TokenManagerService, TOKEN_MANAGER, PROVIDER_CONFIG, type Simple23BlocksConfig, SIMPLE_CONFIG, } from './simple-providers.js';
|
|
2
|
+
export { TRANSPORT, AUTHENTICATION_TRANSPORT, SEARCH_TRANSPORT, PRODUCTS_TRANSPORT, CRM_TRANSPORT, CONTENT_TRANSPORT, GEOLOCATION_TRANSPORT, CONVERSATIONS_TRANSPORT, FILES_TRANSPORT, FORMS_TRANSPORT, ASSETS_TRANSPORT, CAMPAIGNS_TRANSPORT, COMPANY_TRANSPORT, REWARDS_TRANSPORT, SALES_TRANSPORT, WALLET_TRANSPORT, JARVIS_TRANSPORT, ONBOARDING_TRANSPORT, UNIVERSITY_TRANSPORT, AUTHENTICATION_CONFIG, SEARCH_CONFIG, PRODUCTS_CONFIG, CRM_CONFIG, CONTENT_CONFIG, GEOLOCATION_CONFIG, CONVERSATIONS_CONFIG, FILES_CONFIG, FORMS_CONFIG, ASSETS_CONFIG, CAMPAIGNS_CONFIG, COMPANY_CONFIG, REWARDS_CONFIG, SALES_CONFIG, WALLET_CONFIG, JARVIS_CONFIG, ONBOARDING_CONFIG, UNIVERSITY_CONFIG, } from './tokens.js';
|
|
3
|
+
export { provide23Blocks, get23BlocksProviders, type Provide23BlocksConfig } from './providers.js';
|
|
4
|
+
export { AuthenticationService } from './authentication/index.js';
|
|
5
|
+
export { SearchService } from './search/index.js';
|
|
6
|
+
export { ProductsService } from './products/index.js';
|
|
7
|
+
export { CrmService } from './crm/index.js';
|
|
8
|
+
export { ContentService } from './content/index.js';
|
|
9
|
+
export { GeolocationService } from './geolocation/index.js';
|
|
10
|
+
export { ConversationsService } from './conversations/index.js';
|
|
11
|
+
export { FilesService } from './files/index.js';
|
|
12
|
+
export { FormsService } from './forms/index.js';
|
|
13
|
+
export { AssetsService } from './assets/index.js';
|
|
14
|
+
export { CampaignsService } from './campaigns/index.js';
|
|
15
|
+
export { CompanyService } from './company/index.js';
|
|
16
|
+
export { RewardsService } from './rewards/index.js';
|
|
17
|
+
export { SalesService } from './sales/index.js';
|
|
18
|
+
export { WalletService } from './wallet/index.js';
|
|
19
|
+
export { JarvisService } from './jarvis/index.js';
|
|
20
|
+
export { OnboardingService } from './onboarding/index.js';
|
|
21
|
+
export { UniversityService } from './university/index.js';
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,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M,kBAAkB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/jarvis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type JarvisBlock, type JarvisBlockConfig, type Agent, type CreateAgentRequest, type UpdateAgentRequest, type ListAgentsParams, type ChatRequest, type ChatResponse, type CompleteRequest, type CompleteResponse, type Prompt, type CreatePromptRequest, type UpdatePromptRequest, type ListPromptsParams, type ExecutePromptRequest, type ExecutePromptResponse, type TestPromptRequest, type TestPromptResponse, type Workflow, type CreateWorkflowRequest, type UpdateWorkflowRequest, type ListWorkflowsParams, type RunWorkflowRequest, type RunWorkflowResponse, type Execution, type ListExecutionsParams, type Conversation, type CreateConversationRequest, type SendMessageRequest, type SendMessageResponse, type ListConversationsParams } from '@23blocks/block-jarvis';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the Jarvis block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class ChatComponent {
|
|
12
|
+
* constructor(private jarvis: JarvisService) {}
|
|
13
|
+
*
|
|
14
|
+
* sendMessage(agentId: string, message: string) {
|
|
15
|
+
* this.jarvis.chat(agentId, { message }).subscribe({
|
|
16
|
+
* next: (response) => console.log('Response:', response.response),
|
|
17
|
+
* error: (err) => console.error('Failed:', err),
|
|
18
|
+
* });
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class JarvisService {
|
|
24
|
+
private readonly block;
|
|
25
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: JarvisBlockConfig);
|
|
26
|
+
/**
|
|
27
|
+
* Ensure the service is configured, throw helpful error if not
|
|
28
|
+
*/
|
|
29
|
+
private ensureConfigured;
|
|
30
|
+
listAgents(params?: ListAgentsParams): Observable<PageResult<Agent>>;
|
|
31
|
+
getAgent(uniqueId: string): Observable<Agent>;
|
|
32
|
+
createAgent(data: CreateAgentRequest): Observable<Agent>;
|
|
33
|
+
updateAgent(uniqueId: string, data: UpdateAgentRequest): Observable<Agent>;
|
|
34
|
+
deleteAgent(uniqueId: string): Observable<void>;
|
|
35
|
+
chat(uniqueId: string, data: ChatRequest): Observable<ChatResponse>;
|
|
36
|
+
complete(uniqueId: string, data: CompleteRequest): Observable<CompleteResponse>;
|
|
37
|
+
listPrompts(params?: ListPromptsParams): Observable<PageResult<Prompt>>;
|
|
38
|
+
getPrompt(uniqueId: string): Observable<Prompt>;
|
|
39
|
+
createPrompt(data: CreatePromptRequest): Observable<Prompt>;
|
|
40
|
+
updatePrompt(uniqueId: string, data: UpdatePromptRequest): Observable<Prompt>;
|
|
41
|
+
deletePrompt(uniqueId: string): Observable<void>;
|
|
42
|
+
executePrompt(uniqueId: string, data: ExecutePromptRequest): Observable<ExecutePromptResponse>;
|
|
43
|
+
testPrompt(data: TestPromptRequest): Observable<TestPromptResponse>;
|
|
44
|
+
listWorkflows(params?: ListWorkflowsParams): Observable<PageResult<Workflow>>;
|
|
45
|
+
getWorkflow(uniqueId: string): Observable<Workflow>;
|
|
46
|
+
createWorkflow(data: CreateWorkflowRequest): Observable<Workflow>;
|
|
47
|
+
updateWorkflow(uniqueId: string, data: UpdateWorkflowRequest): Observable<Workflow>;
|
|
48
|
+
deleteWorkflow(uniqueId: string): Observable<void>;
|
|
49
|
+
runWorkflow(uniqueId: string, data: RunWorkflowRequest): Observable<RunWorkflowResponse>;
|
|
50
|
+
pauseWorkflow(uniqueId: string): Observable<Workflow>;
|
|
51
|
+
resumeWorkflow(uniqueId: string): Observable<Workflow>;
|
|
52
|
+
listExecutions(params?: ListExecutionsParams): Observable<PageResult<Execution>>;
|
|
53
|
+
getExecution(uniqueId: string): Observable<Execution>;
|
|
54
|
+
listExecutionsByAgent(agentUniqueId: string, params?: ListExecutionsParams): Observable<PageResult<Execution>>;
|
|
55
|
+
listExecutionsByPrompt(promptUniqueId: string, params?: ListExecutionsParams): Observable<PageResult<Execution>>;
|
|
56
|
+
cancelExecution(uniqueId: string): Observable<Execution>;
|
|
57
|
+
listConversations(params?: ListConversationsParams): Observable<PageResult<Conversation>>;
|
|
58
|
+
getConversation(uniqueId: string): Observable<Conversation>;
|
|
59
|
+
createConversation(data: CreateConversationRequest): Observable<Conversation>;
|
|
60
|
+
sendMessage(uniqueId: string, data: SendMessageRequest): Observable<SendMessageResponse>;
|
|
61
|
+
listConversationsByUser(userUniqueId: string, params?: ListConversationsParams): Observable<PageResult<Conversation>>;
|
|
62
|
+
clearConversation(uniqueId: string): Observable<Conversation>;
|
|
63
|
+
/**
|
|
64
|
+
* Access the underlying block for advanced operations
|
|
65
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
66
|
+
*/
|
|
67
|
+
get rawBlock(): JarvisBlock;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=jarvis.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jarvis.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/jarvis/jarvis.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,KAAK,EACV,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC7B,MAAM,wBAAwB,CAAC;AAGhC;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqB;gBAGH,gBAAgB,EAAE,SAAS,GAAG,IAAI,EACzC,eAAe,EAAE,SAAS,GAAG,IAAI,EACzC,MAAM,EAAE,iBAAiB;IAMlD;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAcxB,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;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B,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIxF,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAIrH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,CAAC;IAQ7D;;;OAGG;IACH,IAAI,QAAQ,IAAI,WAAW,CAE1B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/onboarding/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
+
import { type OnboardingBlock, type OnboardingBlockConfig, type Onboarding, type CreateOnboardingRequest, type UpdateOnboardingRequest, type ListOnboardingsParams, type Flow, type CreateFlowRequest, type UpdateFlowRequest, type ListFlowsParams, type UserJourney, type StartJourneyRequest, type CompleteStepRequest, type ListUserJourneysParams, type UserIdentity, type CreateUserIdentityRequest, type VerifyUserIdentityRequest, type ListUserIdentitiesParams } from '@23blocks/block-onboarding';
|
|
4
|
+
/**
|
|
5
|
+
* Angular service wrapping the Onboarding block.
|
|
6
|
+
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* @Component({...})
|
|
11
|
+
* export class OnboardingComponent {
|
|
12
|
+
* constructor(private onboarding: OnboardingService) {}
|
|
13
|
+
*
|
|
14
|
+
* createOnboarding() {
|
|
15
|
+
* this.onboarding.createOnboarding({
|
|
16
|
+
* code: 'user-onboarding',
|
|
17
|
+
* name: 'User Onboarding',
|
|
18
|
+
* steps: []
|
|
19
|
+
* }).subscribe({
|
|
20
|
+
* next: (onboarding) => console.log('Created:', onboarding),
|
|
21
|
+
* error: (err) => console.error('Failed:', err),
|
|
22
|
+
* });
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class OnboardingService {
|
|
28
|
+
private readonly block;
|
|
29
|
+
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: OnboardingBlockConfig);
|
|
30
|
+
/**
|
|
31
|
+
* Ensure the service is configured, throw helpful error if not
|
|
32
|
+
*/
|
|
33
|
+
private ensureConfigured;
|
|
34
|
+
listOnboardings(params?: ListOnboardingsParams): Observable<PageResult<Onboarding>>;
|
|
35
|
+
getOnboarding(uniqueId: string): Observable<Onboarding>;
|
|
36
|
+
createOnboarding(request: CreateOnboardingRequest): Observable<Onboarding>;
|
|
37
|
+
updateOnboarding(uniqueId: string, request: UpdateOnboardingRequest): Observable<Onboarding>;
|
|
38
|
+
deleteOnboarding(uniqueId: string): Observable<void>;
|
|
39
|
+
listFlows(params?: ListFlowsParams): Observable<PageResult<Flow>>;
|
|
40
|
+
getFlow(uniqueId: string): Observable<Flow>;
|
|
41
|
+
createFlow(request: CreateFlowRequest): Observable<Flow>;
|
|
42
|
+
updateFlow(uniqueId: string, request: UpdateFlowRequest): Observable<Flow>;
|
|
43
|
+
deleteFlow(uniqueId: string): Observable<void>;
|
|
44
|
+
listFlowsByOnboarding(onboardingUniqueId: string): Observable<Flow[]>;
|
|
45
|
+
listUserJourneys(params?: ListUserJourneysParams): Observable<PageResult<UserJourney>>;
|
|
46
|
+
getUserJourney(uniqueId: string): Observable<UserJourney>;
|
|
47
|
+
startJourney(request: StartJourneyRequest): Observable<UserJourney>;
|
|
48
|
+
completeStep(uniqueId: string, request: CompleteStepRequest): Observable<UserJourney>;
|
|
49
|
+
abandonJourney(uniqueId: string): Observable<UserJourney>;
|
|
50
|
+
getJourneysByUser(userUniqueId: string): Observable<UserJourney[]>;
|
|
51
|
+
getJourneyProgress(uniqueId: string): Observable<{
|
|
52
|
+
progress: number;
|
|
53
|
+
currentStep?: number;
|
|
54
|
+
completedSteps?: number[];
|
|
55
|
+
}>;
|
|
56
|
+
listUserIdentities(params?: ListUserIdentitiesParams): Observable<PageResult<UserIdentity>>;
|
|
57
|
+
getUserIdentity(uniqueId: string): Observable<UserIdentity>;
|
|
58
|
+
createUserIdentity(request: CreateUserIdentityRequest): Observable<UserIdentity>;
|
|
59
|
+
verifyUserIdentity(uniqueId: string, request: VerifyUserIdentityRequest): Observable<UserIdentity>;
|
|
60
|
+
deleteUserIdentity(uniqueId: string): Observable<void>;
|
|
61
|
+
listIdentitiesByUser(userUniqueId: string): Observable<UserIdentity[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Access the underlying block for advanced operations
|
|
64
|
+
* Use this when you need access to services not wrapped by this Angular service
|
|
65
|
+
*/
|
|
66
|
+
get rawBlock(): OnboardingBlock;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=onboarding.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onboarding.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/onboarding/onboarding.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,IAAI,EACT,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC9B,MAA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