@caraer/client 2.0.408 → 2.0.410

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.
@@ -0,0 +1,55 @@
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)
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,35 @@
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)
package/docs/HasAppDTO.md CHANGED
@@ -15,6 +15,12 @@ Name | Type | Description | Notes
15
15
  **oauthConnected** | **boolean** | Whether OAuth tokens have been issued for this installation | [optional] [default to undefined]
16
16
  **oauthAccessTokenExpiresAt** | **number** | OAuth access token expiry (epoch ms), if connected via OAuth | [optional] [default to undefined]
17
17
  **selectedPricingPlanUuid** | **string** | UUID of the pricing plan selected for this installation | [optional] [default to undefined]
18
+ **billingCommitment** | **string** | MONTHLY or ANNUAL billing commitment | [optional] [default to undefined]
19
+ **contractStart** | **number** | Current contract start (epoch ms) | [optional] [default to undefined]
20
+ **contractEnd** | **number** | Current contract end / renewal date (epoch ms) | [optional] [default to undefined]
21
+ **pendingPricingPlanUuid** | **string** | Plan scheduled to become active | [optional] [default to undefined]
22
+ **pendingBillingCommitment** | **string** | Commitment scheduled to become active | [optional] [default to undefined]
23
+ **pendingEffectiveAt** | **number** | When the pending subscription change takes effect (epoch ms) | [optional] [default to undefined]
18
24
 
19
25
  ## Example
20
26
 
@@ -31,6 +37,12 @@ const instance: HasAppDTO = {
31
37
  oauthConnected,
32
38
  oauthAccessTokenExpiresAt,
33
39
  selectedPricingPlanUuid,
40
+ billingCommitment,
41
+ contractStart,
42
+ contractEnd,
43
+ pendingPricingPlanUuid,
44
+ pendingBillingCommitment,
45
+ pendingEffectiveAt,
34
46
  };
35
47
  ```
36
48
 
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,23 @@
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)
@@ -0,0 +1,23 @@
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caraer/client",
3
- "version": "2.0.408",
3
+ "version": "2.0.410",
4
4
  "description": "Generated TypeScript client for the Caraer API",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {