@caraer/client 2.0.413 → 2.0.414

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.
@@ -1,29 +0,0 @@
1
- # AppMeterEventRequest
2
-
3
- Manual meter event for a billable line item
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **lineItemName** | **string** | | [default to undefined]
10
- **quantity** | **number** | Positive unit count; defaults to 1 | [optional] [default to undefined]
11
- **idempotencyKey** | **string** | | [optional] [default to undefined]
12
- **occurredAt** | **string** | ISO-8601 timestamp; defaults to now | [optional] [default to undefined]
13
- **metadata** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { AppMeterEventRequest } from '@caraer/client';
19
-
20
- const instance: AppMeterEventRequest = {
21
- lineItemName,
22
- quantity,
23
- idempotencyKey,
24
- occurredAt,
25
- metadata,
26
- };
27
- ```
28
-
29
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,27 +0,0 @@
1
- # AppMeterEventResponse
2
-
3
- Recorded meter event
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **eventUuid** | **string** | | [optional] [default to undefined]
10
- **lineItemName** | **string** | | [optional] [default to undefined]
11
- **quantity** | **number** | | [optional] [default to undefined]
12
- **periodUsageAfter** | **number** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { AppMeterEventResponse } from '@caraer/client';
18
-
19
- const instance: AppMeterEventResponse = {
20
- eventUuid,
21
- lineItemName,
22
- quantity,
23
- periodUsageAfter,
24
- };
25
- ```
26
-
27
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,61 +0,0 @@
1
- # AppPricingDTO
2
-
3
- Data transfer object for app pricing (flat or tiered)
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **uuid** | **string** | Unique identifier for the entity | [default to undefined]
10
- **name** | **string** | The name of the entity | [default to undefined]
11
- **label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
12
- **createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
13
- **createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
14
- **updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
15
- **updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
16
- **deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
17
- **deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
18
- **index** | **number** | Index number for ordering entities | [optional] [default to undefined]
19
- **title** | **string** | Pricing title | [optional] [default to undefined]
20
- **description** | **string** | Pricing description | [optional] [default to undefined]
21
- **pricingType** | **string** | Pricing type: TIERED or FLAT | [optional] [default to undefined]
22
- **pricePerUnit** | **string** | Price per unit (FLAT, e.g. 10.00) | [optional] [default to undefined]
23
- **unit** | **string** | Unit label (FLAT, e.g. document) | [optional] [default to undefined]
24
- **freeUnits** | **string** | Free units included (FLAT, e.g. 100) | [optional] [default to undefined]
25
- **freeUnitsPeriod** | **string** | Free units period (FLAT, e.g. month) | [optional] [default to undefined]
26
- **tiers** | [**Array<AppTierDTO>**](AppTierDTO.md) | Tiers for tiered pricing (TIERED) | [optional] [default to undefined]
27
- **billingPeriod** | **string** | Billing period for usage aggregation (default month) | [optional] [default to undefined]
28
- **commitments** | **Array<string>** | Allowed billing commitments: MONTHLY and/or ANNUAL | [optional] [default to undefined]
29
- **lineItems** | [**Array<AppPricingLineItemDTO>**](AppPricingLineItemDTO.md) | Billable line items (meters and/or static queries) | [optional] [default to undefined]
30
-
31
- ## Example
32
-
33
- ```typescript
34
- import { AppPricingDTO } from '@caraer/client';
35
-
36
- const instance: AppPricingDTO = {
37
- uuid,
38
- name,
39
- label,
40
- createdAt,
41
- createdBy,
42
- updatedAt,
43
- updatedBy,
44
- deletedAt,
45
- deletedBy,
46
- index,
47
- title,
48
- description,
49
- pricingType,
50
- pricePerUnit,
51
- unit,
52
- freeUnits,
53
- freeUnitsPeriod,
54
- tiers,
55
- billingPeriod,
56
- commitments,
57
- lineItems,
58
- };
59
- ```
60
-
61
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,55 +0,0 @@
1
- # AppPricingLineItemDTO
2
-
3
- Billable line item on an app pricing plan
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **uuid** | **string** | Unique identifier for the entity | [default to undefined]
10
- **name** | **string** | The name of the entity | [default to undefined]
11
- **label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
12
- **createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
13
- **createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
14
- **updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
15
- **updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
16
- **deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
17
- **deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
18
- **index** | **number** | Index number for ordering entities | [optional] [default to undefined]
19
- **countType** | **string** | Count type: meter or static_query | [optional] [default to undefined]
20
- **countingSource** | **string** | Event sources for meter line items: WEBHOOK, MANUAL, WEBHOOK_AND_MANUAL | [optional] [default to undefined]
21
- **unit** | **string** | Unit label (e.g. webhook, document) | [optional] [default to undefined]
22
- **includedUnits** | **string** | Included units for FLAT line items | [optional] [default to undefined]
23
- **pricePerUnit** | **string** | Base price covering included units (FLAT) | [optional] [default to undefined]
24
- **pricePerExtraUnit** | **string** | Price per unit above includedUnits (FLAT) | [optional] [default to undefined]
25
- **staticQuery** | [**AppStaticQueryDTO**](AppStaticQueryDTO.md) | Scheduled Cypher snapshot for static_query line items | [optional] [default to undefined]
26
- **tiers** | [**Array<AppTierDTO>**](AppTierDTO.md) | Tiers for TIERED line items | [optional] [default to undefined]
27
-
28
- ## Example
29
-
30
- ```typescript
31
- import { AppPricingLineItemDTO } from '@caraer/client';
32
-
33
- const instance: AppPricingLineItemDTO = {
34
- uuid,
35
- name,
36
- label,
37
- createdAt,
38
- createdBy,
39
- updatedAt,
40
- updatedBy,
41
- deletedAt,
42
- deletedBy,
43
- index,
44
- countType,
45
- countingSource,
46
- unit,
47
- includedUnits,
48
- pricePerUnit,
49
- pricePerExtraUnit,
50
- staticQuery,
51
- tiers,
52
- };
53
- ```
54
-
55
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # AppStaticQueryDTO
2
-
3
- Read-only Cypher snapshot used by static_query line items
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **schedule** | **string** | When the query runs: period_end (default) or period_start | [optional] [default to undefined]
10
- **cypher** | **string** | Read-only Cypher that returns count(...) AS count | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { AppStaticQueryDTO } from '@caraer/client';
16
-
17
- const instance: AppStaticQueryDTO = {
18
- schedule,
19
- cypher,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # AppSubscriptionChangeRequest
2
-
3
- Schedule a plan or commitment change
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **targetPlanUuid** | **string** | | [optional] [default to undefined]
10
- **targetCommitment** | **string** | MONTHLY or ANNUAL | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { AppSubscriptionChangeRequest } from '@caraer/client';
16
-
17
- const instance: AppSubscriptionChangeRequest = {
18
- targetPlanUuid,
19
- targetCommitment,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,35 +0,0 @@
1
- # AppSubscriptionDTO
2
-
3
- Current and pending subscription state
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **selectedPricingPlanUuid** | **string** | | [optional] [default to undefined]
10
- **billingCommitment** | **string** | | [optional] [default to undefined]
11
- **contractStart** | **number** | | [optional] [default to undefined]
12
- **contractEnd** | **number** | | [optional] [default to undefined]
13
- **pendingPricingPlanUuid** | **string** | | [optional] [default to undefined]
14
- **pendingBillingCommitment** | **string** | | [optional] [default to undefined]
15
- **pendingEffectiveAt** | **number** | | [optional] [default to undefined]
16
- **message** | **string** | | [optional] [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { AppSubscriptionDTO } from '@caraer/client';
22
-
23
- const instance: AppSubscriptionDTO = {
24
- selectedPricingPlanUuid,
25
- billingCommitment,
26
- contractStart,
27
- contractEnd,
28
- pendingPricingPlanUuid,
29
- pendingBillingCommitment,
30
- pendingEffectiveAt,
31
- message,
32
- };
33
- ```
34
-
35
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,49 +0,0 @@
1
- # AppTierDTO
2
-
3
- Data transfer object for a pricing tier (plan) within tiered app pricing
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **uuid** | **string** | Unique identifier for the entity | [default to undefined]
10
- **name** | **string** | The name of the entity | [default to undefined]
11
- **label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
12
- **createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
13
- **createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
14
- **updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
15
- **updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
16
- **deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
17
- **deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
18
- **index** | **number** | Index number for ordering entities | [optional] [default to undefined]
19
- **startUnits** | **string** | Start of unit range (e.g. 0) | [optional] [default to undefined]
20
- **endUnits** | **string** | End of unit range (e.g. 1000 or null for unlimited) | [optional] [default to undefined]
21
- **pricePerMonth** | **string** | Price per month (e.g. 10.00) | [optional] [default to undefined]
22
- **pricePerYear** | **string** | Price per year (e.g. 100.00) | [optional] [default to undefined]
23
- **pricePerExtraUnit** | **string** | Price per extra unit beyond tier (e.g. 0.01, typically for last tier) | [optional] [default to undefined]
24
-
25
- ## Example
26
-
27
- ```typescript
28
- import { AppTierDTO } from '@caraer/client';
29
-
30
- const instance: AppTierDTO = {
31
- uuid,
32
- name,
33
- label,
34
- createdAt,
35
- createdBy,
36
- updatedAt,
37
- updatedBy,
38
- deletedAt,
39
- deletedBy,
40
- index,
41
- startUnits,
42
- endUnits,
43
- pricePerMonth,
44
- pricePerYear,
45
- pricePerExtraUnit,
46
- };
47
- ```
48
-
49
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # ShowResponseAppBillingStatusResponse
2
-
3
- Represents the response for viewing or showing a specific resource.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
- **data** | [**AppBillingStatusResponse**](AppBillingStatusResponse.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ShowResponseAppBillingStatusResponse } from '@caraer/client';
16
-
17
- const instance: ShowResponseAppBillingStatusResponse = {
18
- message,
19
- data,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # ShowResponseAppInstallationBillingStatusDTO
2
-
3
- Represents the response for viewing or showing a specific resource.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
- **data** | [**AppInstallationBillingStatusDTO**](AppInstallationBillingStatusDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ShowResponseAppInstallationBillingStatusDTO } from '@caraer/client';
16
-
17
- const instance: ShowResponseAppInstallationBillingStatusDTO = {
18
- message,
19
- data,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # ShowResponseAppMeterEventResponse
2
-
3
- Represents the response for viewing or showing a specific resource.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
- **data** | [**AppMeterEventResponse**](AppMeterEventResponse.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ShowResponseAppMeterEventResponse } from '@caraer/client';
16
-
17
- const instance: ShowResponseAppMeterEventResponse = {
18
- message,
19
- data,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # ShowResponseAppSubscriptionDTO
2
-
3
- Represents the response for viewing or showing a specific resource.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
- **data** | [**AppSubscriptionDTO**](AppSubscriptionDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ShowResponseAppSubscriptionDTO } from '@caraer/client';
16
-
17
- const instance: ShowResponseAppSubscriptionDTO = {
18
- message,
19
- data,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,23 +0,0 @@
1
- # ShowResponseListAppInstallationBillingStatusDTO
2
-
3
- Represents the response for viewing or showing a specific resource.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
10
- **data** | [**Array<AppInstallationBillingStatusDTO>**](AppInstallationBillingStatusDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ShowResponseListAppInstallationBillingStatusDTO } from '@caraer/client';
16
-
17
- const instance: ShowResponseListAppInstallationBillingStatusDTO = {
18
- message,
19
- data,
20
- };
21
- ```
22
-
23
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)