@incomy/platform-sdk 0.4.0-146 → 0.4.0-151
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/services/hub/index.d.ts +2 -0
- package/dist/services/hub/models/BucketPaginatedList.d.ts +16 -0
- package/dist/services/hub/models/BucketPaginatedList.js +1 -0
- package/dist/services/hub/models/TemplatePaginatedList.d.ts +16 -0
- package/dist/services/hub/models/TemplatePaginatedList.js +1 -0
- package/dist/services/hub/services/BucketsService.d.ts +7 -2
- package/dist/services/hub/services/BucketsService.js +12 -2
- package/dist/services/hub/services/TemplatesService.d.ts +7 -2
- package/dist/services/hub/services/TemplatesService.js +12 -2
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export type { BucketBalance } from './models/BucketBalance';
|
|
|
14
14
|
export type { BucketBreakdown } from './models/BucketBreakdown';
|
|
15
15
|
export type { BucketEdit } from './models/BucketEdit';
|
|
16
16
|
export type { BucketInsert } from './models/BucketInsert';
|
|
17
|
+
export type { BucketPaginatedList } from './models/BucketPaginatedList';
|
|
17
18
|
export type { Icon } from './models/Icon';
|
|
18
19
|
export type { InputFieldDefinition } from './models/InputFieldDefinition';
|
|
19
20
|
export type { Label } from './models/Label';
|
|
@@ -67,6 +68,7 @@ export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
|
|
|
67
68
|
export type { TemplateInsert } from './models/TemplateInsert';
|
|
68
69
|
export type { TemplateMultiEventDefinition } from './models/TemplateMultiEventDefinition';
|
|
69
70
|
export type { TemplateOperationDefinition } from './models/TemplateOperationDefinition';
|
|
71
|
+
export type { TemplatePaginatedList } from './models/TemplatePaginatedList';
|
|
70
72
|
export type { UpdateProfileRequest } from './models/UpdateProfileRequest';
|
|
71
73
|
export type { User } from './models/User';
|
|
72
74
|
export type { UserIdentity } from './models/UserIdentity';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Bucket } from './Bucket';
|
|
2
|
+
export type BucketPaginatedList = {
|
|
3
|
+
/**
|
|
4
|
+
* Token item to start the next query from; Empty start from the beginning
|
|
5
|
+
*/
|
|
6
|
+
next: string;
|
|
7
|
+
/**
|
|
8
|
+
* Estimated total count over all pages. -1 means the total count could not be determined.
|
|
9
|
+
*/
|
|
10
|
+
totalCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Results for the current query
|
|
13
|
+
*/
|
|
14
|
+
items: Array<Bucket>;
|
|
15
|
+
meta?: Record<string, string | null> | null;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Template } from './Template';
|
|
2
|
+
export type TemplatePaginatedList = {
|
|
3
|
+
/**
|
|
4
|
+
* Token item to start the next query from; Empty start from the beginning
|
|
5
|
+
*/
|
|
6
|
+
next: string;
|
|
7
|
+
/**
|
|
8
|
+
* Estimated total count over all pages. -1 means the total count could not be determined.
|
|
9
|
+
*/
|
|
10
|
+
totalCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Results for the current query
|
|
13
|
+
*/
|
|
14
|
+
items: Array<Template>;
|
|
15
|
+
meta?: Record<string, string | null> | null;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import type { Bucket } from '../models/Bucket';
|
|
2
2
|
import type { BucketEdit } from '../models/BucketEdit';
|
|
3
3
|
import type { BucketInsert } from '../models/BucketInsert';
|
|
4
|
+
import type { BucketPaginatedList } from '../models/BucketPaginatedList';
|
|
4
5
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
6
|
export declare class BucketsService {
|
|
6
7
|
/**
|
|
7
8
|
* @param projectId
|
|
8
|
-
* @
|
|
9
|
+
* @param query
|
|
10
|
+
* @param orderByName
|
|
11
|
+
* @param limit
|
|
12
|
+
* @param next
|
|
13
|
+
* @returns BucketPaginatedList OK
|
|
9
14
|
* @throws ApiError
|
|
10
15
|
*/
|
|
11
|
-
static getProjectsBuckets(projectId: string): CancelablePromise<
|
|
16
|
+
static getProjectsBuckets(projectId: string, query?: string, orderByName?: 'Desc' | 'Asc', limit?: number, next?: string): CancelablePromise<BucketPaginatedList>;
|
|
12
17
|
/**
|
|
13
18
|
* @param projectId
|
|
14
19
|
* @param requestBody
|
|
@@ -3,16 +3,26 @@ import { request as __request } from '../core/request';
|
|
|
3
3
|
export class BucketsService {
|
|
4
4
|
/**
|
|
5
5
|
* @param projectId
|
|
6
|
-
* @
|
|
6
|
+
* @param query
|
|
7
|
+
* @param orderByName
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param next
|
|
10
|
+
* @returns BucketPaginatedList OK
|
|
7
11
|
* @throws ApiError
|
|
8
12
|
*/
|
|
9
|
-
static getProjectsBuckets(projectId) {
|
|
13
|
+
static getProjectsBuckets(projectId, query, orderByName, limit = 100, next) {
|
|
10
14
|
return __request(OpenAPI, {
|
|
11
15
|
method: 'GET',
|
|
12
16
|
url: '/projects/{projectId}/buckets',
|
|
13
17
|
path: {
|
|
14
18
|
'projectId': projectId,
|
|
15
19
|
},
|
|
20
|
+
query: {
|
|
21
|
+
'query': query,
|
|
22
|
+
'orderByName': orderByName,
|
|
23
|
+
'limit': limit,
|
|
24
|
+
'next': next,
|
|
25
|
+
},
|
|
16
26
|
});
|
|
17
27
|
}
|
|
18
28
|
/**
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import type { Template } from '../models/Template';
|
|
2
2
|
import type { TemplateEdit } from '../models/TemplateEdit';
|
|
3
3
|
import type { TemplateInsert } from '../models/TemplateInsert';
|
|
4
|
+
import type { TemplatePaginatedList } from '../models/TemplatePaginatedList';
|
|
4
5
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
6
|
export declare class TemplatesService {
|
|
6
7
|
/**
|
|
7
8
|
* @param projectId
|
|
8
|
-
* @
|
|
9
|
+
* @param query
|
|
10
|
+
* @param orderByName
|
|
11
|
+
* @param limit
|
|
12
|
+
* @param next
|
|
13
|
+
* @returns TemplatePaginatedList OK
|
|
9
14
|
* @throws ApiError
|
|
10
15
|
*/
|
|
11
|
-
static getProjectsTemplates(projectId: string): CancelablePromise<
|
|
16
|
+
static getProjectsTemplates(projectId: string, query?: string, orderByName?: 'Desc' | 'Asc', limit?: number, next?: string): CancelablePromise<TemplatePaginatedList>;
|
|
12
17
|
/**
|
|
13
18
|
* @param projectId
|
|
14
19
|
* @param requestBody
|
|
@@ -3,16 +3,26 @@ import { request as __request } from '../core/request';
|
|
|
3
3
|
export class TemplatesService {
|
|
4
4
|
/**
|
|
5
5
|
* @param projectId
|
|
6
|
-
* @
|
|
6
|
+
* @param query
|
|
7
|
+
* @param orderByName
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param next
|
|
10
|
+
* @returns TemplatePaginatedList OK
|
|
7
11
|
* @throws ApiError
|
|
8
12
|
*/
|
|
9
|
-
static getProjectsTemplates(projectId) {
|
|
13
|
+
static getProjectsTemplates(projectId, query, orderByName, limit = 100, next) {
|
|
10
14
|
return __request(OpenAPI, {
|
|
11
15
|
method: 'GET',
|
|
12
16
|
url: '/projects/{projectId}/templates',
|
|
13
17
|
path: {
|
|
14
18
|
'projectId': projectId,
|
|
15
19
|
},
|
|
20
|
+
query: {
|
|
21
|
+
'query': query,
|
|
22
|
+
'orderByName': orderByName,
|
|
23
|
+
'limit': limit,
|
|
24
|
+
'next': next,
|
|
25
|
+
},
|
|
16
26
|
});
|
|
17
27
|
}
|
|
18
28
|
/**
|