Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "refactor: rename resource files." #65

Merged
merged 1 commit into from
Nov 13, 2024
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/customers.ts → src/customer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Resource from './resource';
import Cards from './cards';
import Cards from './card';
import * as I from './index';

class CustomerSubscriptions extends Resource {
Expand Down
File renamed without changes.
24 changes: 12 additions & 12 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import Accounts from './accounts';
import Charges from './charges';
import Customers from './customers';
import Events from './events';
import Plans from './plans';
import Subscriptions from './subscriptions';
import Accounts from './account';
import Charges from './charge';
import Customers from './customer';
import Events from './event';
import Plans from './plan';
import Subscriptions from './subscription';
import Tenants from './tenants';
import TenantTransfers from './tenantTransfers';
import Tokens from './tokens';
import Transfers from './transfers';
import Statements from './statements';
import Terms from "./terms";
import Balances from "./balances";
import ThreeDSecureRequests from "./threeDSecureRequests";
import Tokens from './token';
import Transfers from './transfer';
import Statements from './statement';
import Terms from "./term";
import Balances from "./balance";
import ThreeDSecureRequests from "./threeDSecureRequest";

namespace Payjp {

Check warning on line 16 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (14)

ES2015 module syntax is preferred over namespaces

Check warning on line 16 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (16)

ES2015 module syntax is preferred over namespaces

Check warning on line 16 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (18)

ES2015 module syntax is preferred over namespaces

Check warning on line 16 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (20)

ES2015 module syntax is preferred over namespaces
export interface PayjpStatic {
(apikey: string, options?: PayjpOptions): Payjp;
}
Expand Down Expand Up @@ -267,7 +267,7 @@
platform_fee_rate?: string | null,
total_platform_fee?: number,
tenant?: string | null,
product?: any,

Check warning on line 270 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (14)

Unexpected any. Specify a different type

Check warning on line 270 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (16)

Unexpected any. Specify a different type

Check warning on line 270 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (18)

Unexpected any. Specify a different type

Check warning on line 270 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (20)

Unexpected any. Specify a different type
three_d_secure_status: ThreeDSecureStatus,
term_id: string | null,
}
Expand Down Expand Up @@ -592,11 +592,11 @@

export interface ResponseError {
status?: number | undefined,
response?: { body?: PayjpError, [propName: string]: any } | undefined,

Check warning on line 595 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (14)

Unexpected any. Specify a different type

Check warning on line 595 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (16)

Unexpected any. Specify a different type

Check warning on line 595 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (18)

Unexpected any. Specify a different type

Check warning on line 595 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (20)

Unexpected any. Specify a different type
message: string,
timeout?: number,

[propName: string]: any,

Check warning on line 599 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (14)

Unexpected any. Specify a different type

Check warning on line 599 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (16)

Unexpected any. Specify a different type

Check warning on line 599 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (18)

Unexpected any. Specify a different type

Check warning on line 599 in src/index.ts

View workflow job for this annotation

GitHub Actions / testing (20)

Unexpected any. Specify a different type
}
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading