@silexpert/core 1.3.108-1 → 1.3.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/CalendarEvent.d.ts +3 -2
- package/dist/cjs/api/resources/CalendarEvent.d.ts.map +1 -1
- package/dist/cjs/api/resources/CalendarEvent.js +3 -0
- package/dist/cjs/api/resources/CalendarEvent.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +3 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +6 -0
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +8 -1
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
- package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/cjs/types/Form/FormConnector.js +0 -83
- package/dist/cjs/types/Form/FormConnector.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +6 -0
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
- package/dist/cjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/query.js +110 -0
- package/dist/cjs/types/Interface/api/calendarEvent/query.js.map +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +4 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +13 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +6 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IConnector.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IConnector.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IConnector.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -6
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -6
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +7 -5
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/CalendarEvent.d.ts +3 -2
- package/dist/mjs/api/resources/CalendarEvent.d.ts.map +1 -1
- package/dist/mjs/api/resources/CalendarEvent.js +3 -0
- package/dist/mjs/api/resources/CalendarEvent.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +3 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +6 -0
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +7 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
- package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/mjs/types/Form/FormConnector.js +11 -84
- package/dist/mjs/types/Form/FormConnector.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +6 -0
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts +26 -0
- package/dist/mjs/types/Interface/api/calendarEvent/query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/query.js +117 -0
- package/dist/mjs/types/Interface/api/calendarEvent/query.js.map +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +4 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +13 -0
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +8 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IConnector.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IConnector.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IConnector.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -6
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -6
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +7 -5
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CalendarEvent.ts +6 -1
- package/ts/api/resources/Payment.ts +6 -0
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/PrestationType.ts +7 -0
- package/ts/types/Form/FormConnector.ts +11 -39
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +3 -0
- package/ts/types/Interface/api/calendarEvent/query.ts +77 -0
- package/ts/types/Interface/api/stripe/Create.ts +9 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +6 -1
- package/ts/types/Interface/models/IConnector.ts +0 -1
- package/ts/types/index.ts +1 -6
- package/ts/utils/prestation.ts +7 -4
- package/dist/cjs/api/resources/Sellsy.d.ts +0 -16
- package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
- package/dist/cjs/api/resources/Sellsy.js +0 -20
- package/dist/cjs/api/resources/Sellsy.js.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
- package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
- package/dist/cjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
- package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -37
- package/dist/cjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -35
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
- package/dist/cjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -3
- package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
- package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -36
- package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
- package/dist/mjs/api/resources/Sellsy.d.ts +0 -16
- package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
- package/dist/mjs/api/resources/Sellsy.js +0 -16
- package/dist/mjs/api/resources/Sellsy.js.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +0 -7
- package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js +0 -33
- package/dist/mjs/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +0 -6
- package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +0 -36
- package/dist/mjs/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +0 -5
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js +0 -33
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts +0 -7
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js +0 -36
- package/dist/mjs/types/Interface/api/calendarEvent/queryCalendarEventCall.js.map +0 -1
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
- package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
- package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -35
- package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
- package/ts/api/resources/Sellsy.ts +0 -21
- package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +0 -15
- package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +0 -20
- package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +0 -19
- package/ts/types/Interface/api/calendarEvent/queryCalendarEventCall.ts +0 -18
- package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
- package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
- package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SellsyConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SellsyConnectionStatus.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export interface SellsyConnectionStatus {\n connected: boolean;\n refreshed?: boolean;\n needReauth?: boolean;\n lastSync?: Date | string;\n expiresAt?: Date;\n expiresIn?: number;\n message?: string;\n error?: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SellsyOauthCallback.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyOauthCallback.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAI9B,IAAI,EAAE,MAAM,CAAC;IAKb,YAAY,EAAE,MAAM,CAAC;IAKrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsInt, IsNotEmpty, IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
12
|
-
export class SellsyOauthCallback {
|
|
13
|
-
code;
|
|
14
|
-
codeVerifier;
|
|
15
|
-
idSociety;
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
ApiProperty(),
|
|
19
|
-
IsString(),
|
|
20
|
-
IsNotEmpty(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], SellsyOauthCallback.prototype, "code", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
ApiProperty(),
|
|
25
|
-
IsString(),
|
|
26
|
-
IsNotEmpty(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], SellsyOauthCallback.prototype, "codeVerifier", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
ApiProperty(),
|
|
31
|
-
IsInt(),
|
|
32
|
-
IsNotEmpty(),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], SellsyOauthCallback.prototype, "idSociety", void 0);
|
|
35
|
-
//# sourceMappingURL=SellsyOauthCallback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SellsyOauthCallback.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyOauthCallback.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,mBAAmB;IAI9B,IAAI,CAAS;IAKb,YAAY,CAAS;IAKrB,SAAS,CAAS;CACnB;AAXC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;iDACA;AAKb;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;yDACQ;AAKrB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,UAAU,EAAE;;sDACK","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class SellsyOauthCallback {\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n code: string;\n\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n codeVerifier: string;\n\n @ApiProperty()\n @IsInt()\n @IsNotEmpty()\n idSociety: number;\n}\n\nexport interface SellsyOauthCallbackResponse {\n message: string;\n success: true;\n}\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
|
|
3
|
-
import { SellsyOauthCallback } from '../../types/Interface/api/sellsy/SellsyOauthCallback';
|
|
4
|
-
|
|
5
|
-
export class Sellsy extends Resource {
|
|
6
|
-
oauthCallback(payload: SellsyOauthCallback): Promise<{ success: boolean; message: string }> {
|
|
7
|
-
return this.axios.$post('/connectors/sellsy/callback', payload);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {
|
|
11
|
-
return this.axios.$delete(`/connectors/sellsy/disconnect/${idSociety}`);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {
|
|
15
|
-
return this.axios.$get('/connectors/sellsy/status', { params: { societyId } });
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
createInvoices(payload: any): Promise<any> {
|
|
19
|
-
return this.axios.$post('/connectors/sellsy/invoices', payload);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
-
|
|
3
|
-
export class GetAllCalendarEvent {
|
|
4
|
-
@ApiPropertyOptional()
|
|
5
|
-
idUser?: number;
|
|
6
|
-
|
|
7
|
-
@ApiProperty()
|
|
8
|
-
startDate: Date;
|
|
9
|
-
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
endDate: Date;
|
|
12
|
-
|
|
13
|
-
@ApiPropertyOptional()
|
|
14
|
-
isValidated?: boolean;
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class GetLastInvalidateEvent {
|
|
5
|
-
@ApiProperty()
|
|
6
|
-
@IsInt()
|
|
7
|
-
idUser: number;
|
|
8
|
-
|
|
9
|
-
@ApiPropertyOptional()
|
|
10
|
-
@IsOptional()
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsDateString()
|
|
13
|
-
dateStart?: string;
|
|
14
|
-
|
|
15
|
-
@ApiPropertyOptional()
|
|
16
|
-
@IsOptional()
|
|
17
|
-
@IsString()
|
|
18
|
-
@IsDateString()
|
|
19
|
-
dateEnd?: string;
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IsIn, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
3
|
-
|
|
4
|
-
export class QueryCalendarEvent {
|
|
5
|
-
@ApiPropertyOptional()
|
|
6
|
-
@IsOptional()
|
|
7
|
-
@IsString({
|
|
8
|
-
each: true,
|
|
9
|
-
})
|
|
10
|
-
@IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })
|
|
11
|
-
include?: string[];
|
|
12
|
-
|
|
13
|
-
@ApiPropertyOptional()
|
|
14
|
-
@IsOptional()
|
|
15
|
-
@IsString({
|
|
16
|
-
each: true,
|
|
17
|
-
})
|
|
18
|
-
attributes?: string[];
|
|
19
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class QueryCalendarEventCall {
|
|
5
|
-
@ApiPropertyOptional()
|
|
6
|
-
idUser?: number;
|
|
7
|
-
|
|
8
|
-
@ApiProperty()
|
|
9
|
-
startDate: Date;
|
|
10
|
-
|
|
11
|
-
@ApiProperty()
|
|
12
|
-
endDate: Date;
|
|
13
|
-
|
|
14
|
-
@IsBoolean()
|
|
15
|
-
@ApiPropertyOptional()
|
|
16
|
-
@IsOptional()
|
|
17
|
-
noHonoredCall?: boolean;
|
|
18
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IsInt, IsNotEmpty, IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class SellsyOauthCallback {
|
|
5
|
-
@ApiProperty()
|
|
6
|
-
@IsString()
|
|
7
|
-
@IsNotEmpty()
|
|
8
|
-
code: string;
|
|
9
|
-
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsNotEmpty()
|
|
13
|
-
codeVerifier: string;
|
|
14
|
-
|
|
15
|
-
@ApiProperty()
|
|
16
|
-
@IsInt()
|
|
17
|
-
@IsNotEmpty()
|
|
18
|
-
idSociety: number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface SellsyOauthCallbackResponse {
|
|
22
|
-
message: string;
|
|
23
|
-
success: true;
|
|
24
|
-
}
|