Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/panoratech/Panora into feat…
Browse files Browse the repository at this point in the history
…/auth-password
  • Loading branch information
naelob committed Aug 2, 2024
2 parents 9049e94 + 01e7c26 commit f9bc4e2
Show file tree
Hide file tree
Showing 85 changed files with 1,429 additions and 3,626 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.351.2
sources:
merge-code-samples-into-spec:
sourceNamespace: merge-code-samples-into-spec
sourceRevisionDigest: sha256:dde6fc4b932928239b169ca6e69ec20c1f777ea02caa0a4f79efad8af48d528e
sourceBlobDigest: sha256:b1a2083cb9aded332422c5c036d95babc9e941d4050125cbf3da0bbbc4f7084f
sourceRevisionDigest: sha256:dde1dfd5338441639d288ec705b62106fde223be7fdde40d9fb1c32101965af7
sourceBlobDigest: sha256:b5a123ba535bf5c4137125ab81b7a59edd4810b6039e107627edc9dac4159e2c
tags:
- latest
- main
Expand Down
5 changes: 3 additions & 2 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
},
"anchors": [],
"api": {
"auth": {
"method": "bearer"
"auth": {
"method": "key",
"name": "x-api-key"
},
"baseUrl": "https://api.panora.dev"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/accounting/account/account.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiBearerAuth('bearer')
@ApiTags('accounting/accounts')
@Controller('accounting/accounts')
export class AccountController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/address/address.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { AddressService } from './services/address.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/addresses')
@Controller('accounting/addresses')
export class AddressController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { AttachmentService } from './services/attachment.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/attachments')
@Controller('accounting/attachments')
export class AttachmentController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { BalanceSheetService } from './services/balancesheet.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/balancesheets')
@Controller('accounting/balancesheets')
export class BalanceSheetController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { CashflowStatementService } from './services/cashflowstatement.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/cashflowstatements')
@Controller('accounting/cashflowstatements')
export class CashflowStatementController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { CompanyInfoService } from './services/companyinfo.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/companyinfos')
@Controller('accounting/companyinfos')
export class CompanyInfoController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/contact/contact.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { ContactService } from './services/contact.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/contacts')
@Controller('accounting/contacts')
export class ContactController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { CreditNoteService } from './services/creditnote.service';
Expand All @@ -33,7 +33,7 @@ import {
ApiPaginatedResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/creditnotes')
@Controller('accounting/creditnotes')
export class CreditNoteController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/expense/expense.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { ExpenseService } from './services/expense.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/expenses')
@Controller('accounting/expenses')
export class ExpenseController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { IncomeStatementService } from './services/incomestatement.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/incomestatements')
@Controller('accounting/incomestatements')
export class IncomeStatementController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/invoice/invoice.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { InvoiceService } from './services/invoice.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/invoices')
@Controller('accounting/invoices')
export class InvoiceController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/item/item.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { ItemService } from './services/item.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/items')
@Controller('accounting/items')
export class ItemController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { JournalEntryService } from './services/journalentry.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/journalentries')
@Controller('accounting/journalentries')
export class JournalEntryController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/payment/payment.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { PaymentService } from './services/payment.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/payments')
@Controller('accounting/payments')
export class PaymentController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { PhoneNumberService } from './services/phonenumber.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/phonenumbers')
@Controller('accounting/phonenumbers')
export class PhoneNumberController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { PurchaseOrderService } from './services/purchaseorder.service';
Expand All @@ -34,7 +34,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/purchaseorders')
@Controller('accounting/purchaseorders')
export class PurchaseOrderController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/accounting/taxrate/taxrate.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { TaxRateService } from './services/taxrate.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/taxrates')
@Controller('accounting/taxrates')
export class TaxRateController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { TrackingCategoryService } from './services/trackingcategory.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/trackingcategories')
@Controller('accounting/trackingcategories')
export class TrackingCategoryController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { TransactionService } from './services/transaction.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/transactions')
@Controller('accounting/transactions')
export class TransactionController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import { VendorCreditService } from './services/vendorcredit.service';
Expand All @@ -30,7 +30,7 @@ import { ApiKeyAuthGuard } from '@@core/auth/guards/api-key.guard';
import { FetchObjectsQueryDto } from '@@core/utils/dtos/fetch-objects-query.dto';
import { ApiGetCustomResponse, ApiPaginatedResponse } from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('accounting/vendorcredits')
@Controller('accounting/vendorcredits')
export class VendorCreditController {
Expand Down
4 changes: 2 additions & 2 deletions packages/api/src/ats/activity/activity.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
ApiQuery,
ApiTags,
ApiHeader,
ApiBearerAuth,
//ApiKeyAuth,
} from '@nestjs/swagger';

import {
Expand All @@ -33,7 +33,7 @@ import {
ApiPostCustomResponse,
} from '@@core/utils/dtos/openapi.respone.dto';

@ApiBearerAuth('bearer')
//@ApiKeyAuth()
@ApiTags('ats/activities')
@Controller('ats/activities')
export class ActivityController {
Expand Down
Loading

0 comments on commit f9bc4e2

Please sign in to comment.