Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "12.0.0-beta.8"
".": "12.0.0-beta.9"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 164
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-10f337363613795d73455c319c396fbd45bd29e52d1dd4d3345ab9063c124618.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-15b0034c38e787049a3fce7eb61d378f4a73453e8fd913428df8a353378b9fec.yml
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 12.0.0-beta.9 (2025-02-24)

Full Changelog: [v12.0.0-beta.8...v12.0.0-beta.9](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.0.0-beta.8...v12.0.0-beta.9)

### Features

* **api:** api update ([#56](https://github.com/conductor-is/quickbooks-desktop-node/issues/56)) ([5ae43e7](https://github.com/conductor-is/quickbooks-desktop-node/commit/5ae43e734811448f8be026adc3a083987db14a56))
* **api:** api update ([#58](https://github.com/conductor-is/quickbooks-desktop-node/issues/58)) ([19059e8](https://github.com/conductor-is/quickbooks-desktop-node/commit/19059e8441810fe594960dbf3af995ea6ac9e4ca))

## 12.0.0-beta.8 (2025-02-24)

Full Changelog: [v12.0.0-beta.7...v12.0.0-beta.8](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.0.0-beta.7...v12.0.0-beta.8)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "conductor-node",
"version": "12.0.0-beta.8",
"version": "12.0.0-beta.9",
"description": "The official TypeScript library for the Conductor API",
"author": "Conductor <support@conductor.is>",
"types": "dist/index.d.ts",
Expand Down
22 changes: 11 additions & 11 deletions src/resources/auth-sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import * as Core from '../core';

export class AuthSessions extends APIResource {
/**
* To launch the authentication flow, create an AuthSession and pass the returned
* sessions `authFlowUrl` to the client for your end-user to visit in their
* To launch the authentication flow, create an auth session and pass the returned
* session's `authFlowUrl` to the client for your end-user to visit in their
* browser.
*/
create(body: AuthSessionCreateParams, options?: Core.RequestOptions): Core.APIPromise<AuthSession> {
Expand All @@ -16,13 +16,13 @@ export class AuthSessions extends APIResource {

export interface AuthSession {
/**
* The unique identifier for this AuthSession.
* The unique identifier for this auth session.
*/
id: string;

/**
* The URL of the authentication flow that you will pass to your client for your
* user to set up their IntegrationConnection.
* user to set up their integration connection.
*/
authFlowUrl: string;

Expand All @@ -32,19 +32,19 @@ export interface AuthSession {
clientSecret: string;

/**
* The date and time when this AuthSession record was created.
* The date and time when this auth session record was created.
*/
createdAt: string;

/**
* The ID of the EndUser for whom to create an IntegrationConnection.
* The ID of the end-user for whom to create an integration connection.
*/
endUserId: string;

/**
* The date and time when this AuthSession expires. By default, this value is 30
* The date and time when this auth session expires. By default, this value is 30
* minutes from creation. You can extend this time by setting `linkExpiryMins` when
* [creating the AuthSession](/apis/auth-sessions/create).
* creating the auth session.
*/
expiresAt: string;

Expand All @@ -63,18 +63,18 @@ export interface AuthSession {

export interface AuthSessionCreateParams {
/**
* The ID of the EndUser for whom to create the IntegrationConnection.
* The ID of the end-user for whom to create the integration connection.
*/
endUserId: string;

/**
* Your Conductor publishable key, which we use to create the sessions
* Your Conductor publishable key, which we use to create the auth session's
* `authFlowUrl`.
*/
publishableKey: string;

/**
* The number of minutes after which the AuthSession will expire. Must be at least
* The number of minutes after which the auth session will expire. Must be at least
* 15 minutes and no more than 7 days. If not provided, defaults to 30 minutes.
*/
linkExpiryMins?: number;
Expand Down
40 changes: 20 additions & 20 deletions src/resources/end-users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ import * as Core from '../core';

export class EndUsers extends APIResource {
/**
* Creates an EndUser.
* Creates an end-user.
*/
create(body: EndUserCreateParams, options?: Core.RequestOptions): Core.APIPromise<EndUser> {
return this._client.post('/end-users', { body, ...options });
}

/**
* Retrieves an EndUser object.
* Retrieves an end-user object.
*/
retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUser> {
return this._client.get(`/end-users/${id}`, options);
}

/**
* Returns a list of your EndUsers.
* Returns a list of your end-users.
*/
list(options?: Core.RequestOptions): Core.APIPromise<EndUserListResponse> {
return this._client.get('/end-users', options);
}

/**
* Permanently deletes an EndUser object and all of its connections.
* Permanently deletes an end-user object and all of its connections.
*/
delete(id: string, options?: Core.RequestOptions): Core.APIPromise<EndUserDeleteResponse> {
return this._client.delete(`/end-users/${id}`, options);
Expand All @@ -46,7 +46,7 @@ export class EndUsers extends APIResource {
}

/**
* Checks whether the specified IntegrationConnection can connect and process
* Checks whether the specified integration connection can connect and process
* requests end-to-end. This is useful for showing a "connection status" indicator
* in your app.
*/
Expand All @@ -61,29 +61,29 @@ export class EndUsers extends APIResource {

export interface EndUser {
/**
* The unique identifier for this EndUser. You must save this value to your
* The unique identifier for this end-user. You must save this value to your
* database because it is how you identify which of your users to receive your API
* requests.
*/
id: string;

/**
* The EndUser's company name that will be shown elsewhere in Conductor.
* The end-user's company name that will be shown elsewhere in Conductor.
*/
companyName: string;

/**
* The date and time when this EndUser record was created.
* The date and time when this end-user record was created.
*/
createdAt: string;

/**
* The EndUser's email address for identification purposes.
* The end-user's email address for identification purposes.
*/
email: string;

/**
* The EndUser's IntegrationConnections.
* The end-user's integration connections.
*/
integrationConnections: Array<EndUser.IntegrationConnection>;

Expand All @@ -93,7 +93,7 @@ export interface EndUser {
objectType: 'end_user';

/**
* The EndUser's unique identifier from your system. Maps users between your
* The end-user's unique identifier from your system. Maps users between your
* database and Conductor.
*/
sourceId: string;
Expand All @@ -102,12 +102,12 @@ export interface EndUser {
export namespace EndUser {
export interface IntegrationConnection {
/**
* The unique identifier for this IntegrationConnection.
* The unique identifier for this integration connection.
*/
id: string;

/**
* The date and time when this IntegrationConnection record was created.
* The date and time when this integration connection record was created.
*/
createdAt: string;

Expand All @@ -117,14 +117,14 @@ export namespace EndUser {
integrationSlug: 'quickbooks_desktop';

/**
* The date and time of your last API request to this IntegrationConnection.
* The date and time of your last API request to this integration connection.
*/
lastRequestAt: string | null;

/**
* The date and time of your last _successful_ API request to this
* IntegrationConnection. A successful request means the integration fully
* processed and returned a response without any errors end-to-end.
* The date and time of your last _successful_ API request to this integration
* connection. A successful request means the integration fully processed and
* returned a response without any errors end-to-end.
*/
lastSuccessfulRequestAt: string | null;

Expand All @@ -137,7 +137,7 @@ export namespace EndUser {

export interface EndUserListResponse {
/**
* The array of EndUsers.
* The array of end-users.
*/
data: Array<EndUser>;

Expand All @@ -154,12 +154,12 @@ export interface EndUserListResponse {

export interface EndUserDeleteResponse {
/**
* The ID of the deleted EndUser.
* The ID of the deleted end-user.
*/
id: string;

/**
* Indicates whether the EndUser was deleted.
* Indicates whether the end-user was deleted.
*/
deleted: boolean;

Expand Down
18 changes: 10 additions & 8 deletions src/resources/qbd/time-tracking-activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ export interface TimeTrackingActivity {
createdAt: string;

/**
* The customer or customer-job to which this time could be billed. If
* `billingStatus` is set to "billable", this field is required.
* The customer or customer-job to which this time tracking activity could be
* billed. If `billingStatus` is set to "billable", this field is required.
*/
customer: TimeTrackingActivity.Customer | null;

Expand Down Expand Up @@ -230,8 +230,8 @@ export namespace TimeTrackingActivity {
}

/**
* The customer or customer-job to which this time could be billed. If
* `billingStatus` is set to "billable", this field is required.
* The customer or customer-job to which this time tracking activity could be
* billed. If `billingStatus` is set to "billable", this field is required.
*/
export interface Customer {
/**
Expand Down Expand Up @@ -394,8 +394,9 @@ export interface TimeTrackingActivityCreateParams {
classId?: string;

/**
* Body param: The customer or customer-job to which this time could be billed. If
* `billingStatus` is set to "billable", this field is required.
* Body param: The customer or customer-job to which this time tracking activity
* could be billed. If `billingStatus` is set to "billable", this field is
* required.
*/
customerId?: string;

Expand Down Expand Up @@ -500,8 +501,9 @@ export interface TimeTrackingActivityUpdateParams {
classId?: string;

/**
* Body param: The customer or customer-job to which this time could be billed. If
* `billingStatus` is set to "billable", this field is required.
* Body param: The customer or customer-job to which this time tracking activity
* could be billed. If `billingStatus` is set to "billable", this field is
* required.
*/
customerId?: string;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '12.0.0-beta.8'; // x-release-please-version
export const VERSION = '12.0.0-beta.9'; // x-release-please-version