fix: overlapping branch names for generated PRs of references (#2097)

* fix overlapping branch names of generated references

* regenerate references
This commit is contained in:
Shahed Nasser
2022-08-25 17:47:58 +03:00
committed by GitHub
parent f7a63f1782
commit a8293af8e1
353 changed files with 5590 additions and 3821 deletions

View File

@@ -2,7 +2,7 @@
## Hierarchy
- `"medusa-interfaces"`
- `TransactionBaseService`
**`SystemPaymentProviderService`**
@@ -20,27 +20,122 @@
#### Overrides
BaseService.constructor
TransactionBaseService.constructor
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:6](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L6)
[packages/medusa/src/services/system-payment-provider.ts:10](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L10)
## Properties
### \_\_configModule\_\_
`Protected` `Optional` `Readonly` **\_\_configModule\_\_**: `Record`<`string`, `unknown`\>
#### Inherited from
TransactionBaseService.\_\_configModule\_\_
#### Defined in
[packages/medusa/src/interfaces/transaction-base-service.ts:10](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/interfaces/transaction-base-service.ts#L10)
___
### \_\_container\_\_
`Protected` `Readonly` **\_\_container\_\_**: `any`
#### Inherited from
TransactionBaseService.\_\_container\_\_
#### Defined in
[packages/medusa/src/interfaces/transaction-base-service.ts:9](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/interfaces/transaction-base-service.ts#L9)
___
### manager\_
`Protected` **manager\_**: `EntityManager`
#### Overrides
TransactionBaseService.manager\_
#### Defined in
[packages/medusa/src/services/system-payment-provider.ts:5](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L5)
___
### transactionManager\_
`Protected` **transactionManager\_**: `undefined` \| `EntityManager`
#### Overrides
TransactionBaseService.transactionManager\_
#### Defined in
[packages/medusa/src/services/system-payment-provider.ts:6](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L6)
___
### identifier
`Static` **identifier**: `string` = `"system"`
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:4](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L4)
[packages/medusa/src/services/system-payment-provider.ts:8](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L8)
## Methods
### atomicPhase\_
`Protected` **atomicPhase_**<`TResult`, `TError`\>(`work`, `isolationOrErrorHandler?`, `maybeErrorHandlerOrDontFail?`): `Promise`<`TResult`\>
Wraps some work within a transactional block. If the service already has
a transaction manager attached this will be reused, otherwise a new
transaction manager is created.
#### Type parameters
| Name |
| :------ |
| `TResult` |
| `TError` |
#### Parameters
| Name | Type | Description |
| :------ | :------ | :------ |
| `work` | (`transactionManager`: `EntityManager`) => `Promise`<`TResult`\> | the transactional work to be done |
| `isolationOrErrorHandler?` | `IsolationLevel` \| (`error`: `TError`) => `Promise`<`void` \| `TResult`\> | the isolation level to be used for the work. |
| `maybeErrorHandlerOrDontFail?` | (`error`: `TError`) => `Promise`<`void` \| `TResult`\> | Potential error handler |
#### Returns
`Promise`<`TResult`\>
the result of the transactional work
#### Inherited from
TransactionBaseService.atomicPhase\_
#### Defined in
[packages/medusa/src/interfaces/transaction-base-service.ts:50](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/interfaces/transaction-base-service.ts#L50)
___
### authorizePayment
**authorizePayment**(`_`): `Promise`<{ `data`: {} = {}; `status`: `string` = "authorized" }\>
**authorizePayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -50,17 +145,17 @@ BaseService.constructor
#### Returns
`Promise`<{ `data`: {} = {}; `status`: `string` = "authorized" }\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:22](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L22)
[packages/medusa/src/services/system-payment-provider.ts:26](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L26)
___
### cancelPayment
**cancelPayment**(`_`): `Promise`<{}\>
**cancelPayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -70,17 +165,17 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:46](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L46)
[packages/medusa/src/services/system-payment-provider.ts:50](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L50)
___
### capturePayment
**capturePayment**(`_`): `Promise`<{}\>
**capturePayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -90,17 +185,17 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:38](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L38)
[packages/medusa/src/services/system-payment-provider.ts:42](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L42)
___
### createPayment
**createPayment**(`_`): `Promise`<{}\>
**createPayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -110,17 +205,17 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:10](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L10)
[packages/medusa/src/services/system-payment-provider.ts:14](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L14)
___
### deletePayment
**deletePayment**(`_`): `Promise`<{}\>
**deletePayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -130,17 +225,17 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:34](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L34)
[packages/medusa/src/services/system-payment-provider.ts:38](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L38)
___
### getPaymentData
**getPaymentData**(`_`): `Promise`<{}\>
**getPaymentData**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -150,11 +245,11 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:18](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L18)
[packages/medusa/src/services/system-payment-provider.ts:22](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L22)
___
@@ -174,13 +269,13 @@ ___
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:14](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L14)
[packages/medusa/src/services/system-payment-provider.ts:18](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L18)
___
### refundPayment
**refundPayment**(`_`): `Promise`<{}\>
**refundPayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -190,17 +285,41 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:42](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L42)
[packages/medusa/src/services/system-payment-provider.ts:46](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L46)
___
### shouldRetryTransaction\_
`Protected` **shouldRetryTransaction_**(`err`): `boolean`
#### Parameters
| Name | Type |
| :------ | :------ |
| `err` | `Record`<`string`, `unknown`\> \| { `code`: `string` } |
#### Returns
`boolean`
#### Inherited from
TransactionBaseService.shouldRetryTransaction\_
#### Defined in
[packages/medusa/src/interfaces/transaction-base-service.ts:31](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/interfaces/transaction-base-service.ts#L31)
___
### updatePayment
**updatePayment**(`_`): `Promise`<{}\>
**updatePayment**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -210,17 +329,17 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:30](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L30)
[packages/medusa/src/services/system-payment-provider.ts:34](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L34)
___
### updatePaymentData
**updatePaymentData**(`_`): `Promise`<{}\>
**updatePaymentData**(`_`): `Promise`<`Record`<`string`, `unknown`\>\>
#### Parameters
@@ -230,8 +349,32 @@ ___
#### Returns
`Promise`<{}\>
`Promise`<`Record`<`string`, `unknown`\>\>
#### Defined in
[packages/medusa/src/services/system-payment-provider.js:26](https://github.com/medusajs/medusa/blob/f406c8d4/packages/medusa/src/services/system-payment-provider.js#L26)
[packages/medusa/src/services/system-payment-provider.ts:30](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/services/system-payment-provider.ts#L30)
___
### withTransaction
**withTransaction**(`transactionManager?`): [`SystemPaymentProviderService`](SystemPaymentProviderService.md)
#### Parameters
| Name | Type |
| :------ | :------ |
| `transactionManager?` | `EntityManager` |
#### Returns
[`SystemPaymentProviderService`](SystemPaymentProviderService.md)
#### Inherited from
TransactionBaseService.withTransaction
#### Defined in
[packages/medusa/src/interfaces/transaction-base-service.ts:13](https://github.com/medusajs/medusa/blob/f7a63f178/packages/medusa/src/interfaces/transaction-base-service.ts#L13)