feat: gitlab triggers integration

This commit is contained in:
Krzysztof Dukszta-Kwiatkowski
2023-05-15 11:22:37 +02:00
committed by Ali BARIN
parent 93a2e2151e
commit 3f8f022d48
45 changed files with 2130 additions and 12 deletions

View File

@@ -4,7 +4,13 @@ import type { Request } from 'express';
// Type definitions for automatisch
export type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;
export type IJSONValue =
| string
| number
| boolean
| null
| IJSONObject
| IJSONArray;
export type IJSONArray = Array<IJSONValue>;
export interface IJSONObject {
[x: string]: IJSONValue;
@@ -338,7 +344,7 @@ export type TPaymentPlan = {
name: string;
limit: string;
productId: string;
}
};
export type TSubscription = {
status: string;
@@ -354,28 +360,28 @@ export type TSubscription = {
title: string;
action: BillingCardAction;
};
}
};
type TBillingCardAction = TBillingTextCardAction | TBillingLinkCardAction;
type TBillingTextCardAction = {
type: 'text';
text: string;
}
};
type TBillingLinkCardAction = {
type: 'link';
text: string;
src: string;
}
};
type TInvoice = {
id: number
amount: number
currency: string
payout_date: string
receipt_url: string
}
id: number;
amount: number;
currency: string;
payout_date: string;
receipt_url: string;
};
declare module 'axios' {
interface AxiosResponse {