@robosystems/client 2.39.0 → 2.39.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "2.39.0",
3
+ "version": "2.39.1",
4
4
  "description": "TypeScript SDK for RoboSystems, the open-source knowledge graph for finance",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/sdk/sdk.gen.d.ts CHANGED
@@ -526,7 +526,7 @@ export declare const createRepositorySubscription: <ThrowOnError extends boolean
526
526
  /**
527
527
  * End Repository Trial
528
528
  *
529
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
529
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
530
530
  */
531
531
  export declare const endRepositorySubscriptionTrial: <ThrowOnError extends boolean = false>(options: Options<EndRepositorySubscriptionTrialData, ThrowOnError>) => RequestResult<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError>;
532
532
  /**
@@ -828,7 +828,7 @@ export declare const getOrgUpcomingInvoice: <ThrowOnError extends boolean = fals
828
828
  /**
829
829
  * Create Payment Checkout Session
830
830
  *
831
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
831
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
832
832
  */
833
833
  export declare const createCheckoutSession: <ThrowOnError extends boolean = false>(options: Options<CreateCheckoutSessionData, ThrowOnError>) => RequestResult<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError>;
834
834
  /**
package/sdk/sdk.gen.js CHANGED
@@ -1062,7 +1062,7 @@ exports.createRepositorySubscription = createRepositorySubscription;
1062
1062
  /**
1063
1063
  * End Repository Trial
1064
1064
  *
1065
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
1065
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
1066
1066
  */
1067
1067
  const endRepositorySubscriptionTrial = (options) => (options.client ?? client_gen_1.client).post({
1068
1068
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -1696,7 +1696,7 @@ exports.getOrgUpcomingInvoice = getOrgUpcomingInvoice;
1696
1696
  /**
1697
1697
  * Create Payment Checkout Session
1698
1698
  *
1699
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
1699
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
1700
1700
  */
1701
1701
  const createCheckoutSession = (options) => (options.client ?? client_gen_1.client).post({
1702
1702
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/sdk/sdk.gen.ts CHANGED
@@ -1073,7 +1073,7 @@ export const createRepositorySubscription = <ThrowOnError extends boolean = fals
1073
1073
  /**
1074
1074
  * End Repository Trial
1075
1075
  *
1076
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
1076
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
1077
1077
  */
1078
1078
  export const endRepositorySubscriptionTrial = <ThrowOnError extends boolean = false>(options: Options<EndRepositorySubscriptionTrialData, ThrowOnError>): RequestResult<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError> => (options.client ?? client).post<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError>({
1079
1079
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -1707,7 +1707,7 @@ export const getOrgUpcomingInvoice = <ThrowOnError extends boolean = false>(opti
1707
1707
  /**
1708
1708
  * Create Payment Checkout Session
1709
1709
  *
1710
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
1710
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
1711
1711
  */
1712
1712
  export const createCheckoutSession = <ThrowOnError extends boolean = false>(options: Options<CreateCheckoutSessionData, ThrowOnError>): RequestResult<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError> => (options.client ?? client).post<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError>({
1713
1713
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -8139,7 +8139,7 @@ export type GraphSubscriptionResponse = {
8139
8139
  /**
8140
8140
  * Trial Ends At
8141
8141
  *
8142
- * When the free trial ends and the first charge is made. Null for a subscription that opened without a trial; kept after the trial is over.
8142
+ * When the free trial ends: the first charge is made then to a card on file, and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial is over.
8143
8143
  */
8144
8144
  trial_ends_at?: string | null;
8145
8145
  /**
package/sdk/types.gen.ts CHANGED
@@ -8326,7 +8326,7 @@ export type GraphSubscriptionResponse = {
8326
8326
  /**
8327
8327
  * Trial Ends At
8328
8328
  *
8329
- * When the free trial ends and the first charge is made. Null for a subscription that opened without a trial; kept after the trial is over.
8329
+ * When the free trial ends: the first charge is made then to a card on file, and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial is over.
8330
8330
  */
8331
8331
  trial_ends_at?: string | null;
8332
8332
  /**
package/sdk.gen.d.ts CHANGED
@@ -526,7 +526,7 @@ export declare const createRepositorySubscription: <ThrowOnError extends boolean
526
526
  /**
527
527
  * End Repository Trial
528
528
  *
529
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
529
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
530
530
  */
531
531
  export declare const endRepositorySubscriptionTrial: <ThrowOnError extends boolean = false>(options: Options<EndRepositorySubscriptionTrialData, ThrowOnError>) => RequestResult<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError>;
532
532
  /**
@@ -828,7 +828,7 @@ export declare const getOrgUpcomingInvoice: <ThrowOnError extends boolean = fals
828
828
  /**
829
829
  * Create Payment Checkout Session
830
830
  *
831
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
831
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
832
832
  */
833
833
  export declare const createCheckoutSession: <ThrowOnError extends boolean = false>(options: Options<CreateCheckoutSessionData, ThrowOnError>) => RequestResult<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError>;
834
834
  /**
package/sdk.gen.js CHANGED
@@ -1062,7 +1062,7 @@ exports.createRepositorySubscription = createRepositorySubscription;
1062
1062
  /**
1063
1063
  * End Repository Trial
1064
1064
  *
1065
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
1065
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
1066
1066
  */
1067
1067
  const endRepositorySubscriptionTrial = (options) => (options.client ?? client_gen_1.client).post({
1068
1068
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -1696,7 +1696,7 @@ exports.getOrgUpcomingInvoice = getOrgUpcomingInvoice;
1696
1696
  /**
1697
1697
  * Create Payment Checkout Session
1698
1698
  *
1699
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
1699
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
1700
1700
  */
1701
1701
  const createCheckoutSession = (options) => (options.client ?? client_gen_1.client).post({
1702
1702
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/sdk.gen.ts CHANGED
@@ -1073,7 +1073,7 @@ export const createRepositorySubscription = <ThrowOnError extends boolean = fals
1073
1073
  /**
1074
1074
  * End Repository Trial
1075
1075
  *
1076
- * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
1076
+ * End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or when no payment method is on file yet.
1077
1077
  */
1078
1078
  export const endRepositorySubscriptionTrial = <ThrowOnError extends boolean = false>(options: Options<EndRepositorySubscriptionTrialData, ThrowOnError>): RequestResult<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError> => (options.client ?? client).post<EndRepositorySubscriptionTrialResponses, EndRepositorySubscriptionTrialErrors, ThrowOnError>({
1079
1079
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -1707,7 +1707,7 @@ export const getOrgUpcomingInvoice = <ThrowOnError extends boolean = false>(opti
1707
1707
  /**
1708
1708
  * Create Payment Checkout Session
1709
1709
  *
1710
- * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.
1710
+ * Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free trial asks for no card but needs a verified email: an unverified account starting one gets 403.
1711
1711
  */
1712
1712
  export const createCheckoutSession = <ThrowOnError extends boolean = false>(options: Options<CreateCheckoutSessionData, ThrowOnError>): RequestResult<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError> => (options.client ?? client).post<CreateCheckoutSessionResponses, CreateCheckoutSessionErrors, ThrowOnError>({
1713
1713
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
package/types.gen.d.ts CHANGED
@@ -8139,7 +8139,7 @@ export type GraphSubscriptionResponse = {
8139
8139
  /**
8140
8140
  * Trial Ends At
8141
8141
  *
8142
- * When the free trial ends and the first charge is made. Null for a subscription that opened without a trial; kept after the trial is over.
8142
+ * When the free trial ends: the first charge is made then to a card on file, and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial is over.
8143
8143
  */
8144
8144
  trial_ends_at?: string | null;
8145
8145
  /**
package/types.gen.ts CHANGED
@@ -8326,7 +8326,7 @@ export type GraphSubscriptionResponse = {
8326
8326
  /**
8327
8327
  * Trial Ends At
8328
8328
  *
8329
- * When the free trial ends and the first charge is made. Null for a subscription that opened without a trial; kept after the trial is over.
8329
+ * When the free trial ends: the first charge is made then to a card on file, and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial is over.
8330
8330
  */
8331
8331
  trial_ends_at?: string | null;
8332
8332
  /**