yellowgrid-api-ts 3.2.276 → 3.2.277

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/api.d.ts CHANGED
@@ -1001,6 +1001,7 @@ export declare const AuditLogEntityTypeEnum: {
1001
1001
  readonly Pops3cxSipTrunks: "pops_3cx_sip_trunks";
1002
1002
  readonly Pops3cxUsers: "pops_3cx_users";
1003
1003
  readonly PopsUsers: "pops_users";
1004
+ readonly PopsVideoRequests: "pops_video_requests";
1004
1005
  readonly Webhook: "webhook";
1005
1006
  readonly PopsXeroLog: "pops_xero_log";
1006
1007
  readonly Oauth2Clients: "oauth2_clients";
@@ -1240,6 +1241,101 @@ export interface BatchEntity {
1240
1241
  */
1241
1242
  'mac'?: string;
1242
1243
  }
1244
+ /**
1245
+ * Branded Video Summary
1246
+ */
1247
+ export interface BrandedVideoSummaryDTO {
1248
+ /**
1249
+ * ID
1250
+ */
1251
+ 'id'?: number;
1252
+ /**
1253
+ * Customer ID
1254
+ */
1255
+ 'customerId'?: number;
1256
+ /**
1257
+ * Company
1258
+ */
1259
+ 'company'?: string;
1260
+ /**
1261
+ * Type
1262
+ */
1263
+ 'type'?: BrandedVideoSummaryDTOTypeEnum;
1264
+ /**
1265
+ * Video
1266
+ */
1267
+ 'video'?: string;
1268
+ /**
1269
+ * Email
1270
+ */
1271
+ 'email'?: string;
1272
+ /**
1273
+ * Website
1274
+ */
1275
+ 'website'?: string;
1276
+ /**
1277
+ * Telephone
1278
+ */
1279
+ 'telephone'?: string;
1280
+ /**
1281
+ * Invoice Number
1282
+ */
1283
+ 'invoiceNumber'?: string | null;
1284
+ /**
1285
+ * Request Date
1286
+ */
1287
+ 'requestDate'?: string | null;
1288
+ /**
1289
+ * Due Date
1290
+ */
1291
+ 'dueDate'?: string | null;
1292
+ /**
1293
+ * OneDrive ID
1294
+ */
1295
+ 'oneDriveId'?: string | null;
1296
+ /**
1297
+ * Status
1298
+ */
1299
+ 'status'?: BrandedVideoSummaryDTOStatusEnum;
1300
+ /**
1301
+ * Notes
1302
+ */
1303
+ 'notes'?: string;
1304
+ }
1305
+ export declare const BrandedVideoSummaryDTOTypeEnum: {
1306
+ readonly Paid: "paid";
1307
+ readonly Reward: "reward";
1308
+ readonly Sample: "sample";
1309
+ };
1310
+ export type BrandedVideoSummaryDTOTypeEnum = typeof BrandedVideoSummaryDTOTypeEnum[keyof typeof BrandedVideoSummaryDTOTypeEnum];
1311
+ export declare const BrandedVideoSummaryDTOStatusEnum: {
1312
+ readonly Pending: "pending";
1313
+ readonly Complete: "complete";
1314
+ readonly Incomplete: "incomplete";
1315
+ readonly Unpaid: "unpaid";
1316
+ };
1317
+ export type BrandedVideoSummaryDTOStatusEnum = typeof BrandedVideoSummaryDTOStatusEnum[keyof typeof BrandedVideoSummaryDTOStatusEnum];
1318
+ /**
1319
+ * Promotions
1320
+ */
1321
+ export interface BrandedVideosSummariesModel {
1322
+ /**
1323
+ * Results
1324
+ */
1325
+ 'results'?: Array<BrandedVideoSummaryDTO>;
1326
+ /**
1327
+ * Page
1328
+ */
1329
+ 'page'?: number;
1330
+ /**
1331
+ * Per Page
1332
+ */
1333
+ 'perPage'?: number;
1334
+ /**
1335
+ * Total Results
1336
+ */
1337
+ 'totalResults'?: number;
1338
+ }
1243
1339
  export interface Bundle {
1244
1340
  'createdDate'?: string;
1245
1341
  'id'?: number;
@@ -9564,6 +9660,23 @@ export interface TechSupportCompanySummaryDTO {
9564
9660
  */
9565
9661
  'monthlyReportEmailAddress'?: string;
9566
9662
  }
9663
+ /**
9664
+ * Thumbnail
9665
+ */
9666
+ export interface ThumbnailDTO {
9667
+ /**
9668
+ * ID
9669
+ */
9670
+ 'id'?: string;
9671
+ /**
9672
+ * Name
9673
+ */
9674
+ 'name'?: string;
9675
+ /**
9676
+ * URL
9677
+ */
9678
+ 'url'?: string;
9679
+ }
9567
9680
  /**
9568
9681
  * Ticket Summary Model
9569
9682
  */
@@ -9780,6 +9893,75 @@ export interface UserEntity {
9780
9893
  */
9781
9894
  'secondaryHex'?: number | null;
9782
9895
  }
9896
+ /**
9897
+ * VideoRequestsEntity
9898
+ */
9899
+ export interface VideoRequestEntity {
9900
+ /**
9901
+ * id
9902
+ */
9903
+ 'id'?: number;
9904
+ /**
9905
+ * userId
9906
+ */
9907
+ 'userId'?: number;
9908
+ /**
9909
+ * type
9910
+ */
9911
+ 'type'?: string;
9912
+ /**
9913
+ * status
9914
+ */
9915
+ 'status'?: string;
9916
+ /**
9917
+ * video
9918
+ */
9919
+ 'video'?: string;
9920
+ /**
9921
+ * company
9922
+ */
9923
+ 'company'?: string;
9924
+ /**
9925
+ * email
9926
+ */
9927
+ 'email'?: string;
9928
+ /**
9929
+ * website
9930
+ */
9931
+ 'website'?: string;
9932
+ /**
9933
+ * telephone
9934
+ */
9935
+ 'telephone'?: string;
9936
+ /**
9937
+ * notes
9938
+ */
9939
+ 'notes'?: string;
9940
+ /**
9941
+ * requestDate
9942
+ */
9943
+ 'requestDate'?: string;
9944
+ /**
9945
+ * dueDate
9946
+ */
9947
+ 'dueDate'?: string;
9948
+ /**
9949
+ * invId
9950
+ */
9951
+ 'invId'?: string | null;
9952
+ /**
9953
+ * invNo
9954
+ */
9955
+ 'invNo'?: string | null;
9956
+ /**
9957
+ * onedriveId
9958
+ */
9959
+ 'onedriveId'?: string | null;
9960
+ /**
9961
+ * thumbnailId
9962
+ */
9963
+ 'thumbnailId'?: string;
9964
+ }
9783
9965
  /**
9784
9966
  * XeroLogEntity
9785
9967
  */
@@ -13395,6 +13577,276 @@ export declare const GetGetServicesPlanDetailsTypeEnum: {
13395
13577
  readonly EdTechPro: "EdTechPro";
13396
13578
  };
13397
13579
  export type GetGetServicesPlanDetailsTypeEnum = typeof GetGetServicesPlanDetailsTypeEnum[keyof typeof GetGetServicesPlanDetailsTypeEnum];
13580
+ /**
13581
+ * BrandedVideosApi - axios parameter creator
13582
+ */
13583
+ export declare const BrandedVideosApiAxiosParamCreator: (configuration?: Configuration) => {
13584
+ /**
13585
+ * Send Branded Video Email
13586
+ * @param {number} id Video ID
13587
+ * @param {number} [customerId] Customer ID
13588
+ * @param {*} [options] Override http request option.
13589
+ * @throws {RequiredError}
13590
+ */
13591
+ deleteDeleteVideoRequest: (id: number, customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13592
+ /**
13593
+ * Get Customer Logo
13594
+ * @param {number} [customerId] Customer ID
13595
+ * @param {*} [options] Override http request option.
13596
+ * @throws {RequiredError}
13597
+ */
13598
+ getDownloadLogo: (customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13599
+ /**
13600
+ * Get Branded Videos
13601
+ * @param {number} [pageSize] Number Of Results
13602
+ * @param {number} [page] Page Number
13603
+ * @param {string} [search] Search
13604
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
13605
+ * @param {boolean} [outstanding] Outstanding
13606
+ * @param {boolean} [overdue] Overdue
13607
+ * @param {number} [customerId] Customer ID
13608
+ * @param {*} [options] Override http request option.
13609
+ * @throws {RequiredError}
13610
+ */
13611
+ getGetBrandedVideos: (pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13612
+ /**
13613
+ * Get Thumbnails
13614
+ * @param {*} [options] Override http request option.
13615
+ * @throws {RequiredError}
13616
+ */
13617
+ getGetThumbnails: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13618
+ /**
13619
+ * Upload logo
13620
+ * @param {File} logo Logo
13621
+ * @param {number} [customerId] Customer ID
13622
+ * @param {*} [options] Override http request option.
13623
+ * @throws {RequiredError}
13624
+ */
13625
+ postDownloadLogo: (logo: File, customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13626
+ /**
13627
+ * Send Branded Video Email
13628
+ * @param {string} email Email
13629
+ * @param {number} id Video ID
13630
+ * @param {number} [customerId] Customer ID
13631
+ * @param {*} [options] Override http request option.
13632
+ * @throws {RequiredError}
13633
+ */
13634
+ postSendBrandedVideoEmail: (email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13635
+ /**
13636
+ * Upload Video
13637
+ * @param {string} thumbnailId Thumbnail ID
13638
+ * @param {number} id Video ID
13639
+ * @param {File} video Video
13640
+ * @param {number} [customerId] Customer ID
13641
+ * @param {*} [options] Override http request option.
13642
+ * @throws {RequiredError}
13643
+ */
13644
+ postUploadVideo: (thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13645
+ };
13646
+ /**
13647
+ * BrandedVideosApi - functional programming interface
13648
+ */
13649
+ export declare const BrandedVideosApiFp: (configuration?: Configuration) => {
13650
+ /**
13651
+ * Send Branded Video Email
13652
+ * @param {number} id Video ID
13653
+ * @param {number} [customerId] Customer ID
13654
+ * @param {*} [options] Override http request option.
13655
+ * @throws {RequiredError}
13656
+ */
13657
+ deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13658
+ /**
13659
+ * Get Customer Logo
13660
+ * @param {number} [customerId] Customer ID
13661
+ * @param {*} [options] Override http request option.
13662
+ * @throws {RequiredError}
13663
+ */
13664
+ getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
13665
+ /**
13666
+ * Get Branded Videos
13667
+ * @param {number} [pageSize] Number Of Results
13668
+ * @param {number} [page] Page Number
13669
+ * @param {string} [search] Search
13670
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
13671
+ * @param {boolean} [outstanding] Outstanding
13672
+ * @param {boolean} [overdue] Overdue
13673
+ * @param {number} [customerId] Customer ID
13674
+ * @param {*} [options] Override http request option.
13675
+ * @throws {RequiredError}
13676
+ */
13677
+ getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandedVideosSummariesModel>>;
13678
+ /**
13679
+ * Get Thumbnails
13680
+ * @param {*} [options] Override http request option.
13681
+ * @throws {RequiredError}
13682
+ */
13683
+ getGetThumbnails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ThumbnailDTO>>>;
13684
+ /**
13685
+ * Upload logo
13686
+ * @param {File} logo Logo
13687
+ * @param {number} [customerId] Customer ID
13688
+ * @param {*} [options] Override http request option.
13689
+ * @throws {RequiredError}
13690
+ */
13691
+ postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13692
+ /**
13693
+ * Send Branded Video Email
13694
+ * @param {string} email Email
13695
+ * @param {number} id Video ID
13696
+ * @param {number} [customerId] Customer ID
13697
+ * @param {*} [options] Override http request option.
13698
+ * @throws {RequiredError}
13699
+ */
13700
+ postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13701
+ /**
13702
+ * Upload Video
13703
+ * @param {string} thumbnailId Thumbnail ID
13704
+ * @param {number} id Video ID
13705
+ * @param {File} video Video
13706
+ * @param {number} [customerId] Customer ID
13707
+ * @param {*} [options] Override http request option.
13708
+ * @throws {RequiredError}
13709
+ */
13710
+ postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandedVideoSummaryDTO>>;
13711
+ };
13712
+ /**
13713
+ * BrandedVideosApi - factory interface
13714
+ */
13715
+ export declare const BrandedVideosApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13716
+ /**
13717
+ * Send Branded Video Email
13718
+ * @param {number} id Video ID
13719
+ * @param {number} [customerId] Customer ID
13720
+ * @param {*} [options] Override http request option.
13721
+ * @throws {RequiredError}
13722
+ */
13723
+ deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
13724
+ /**
13725
+ * Get Customer Logo
13726
+ * @param {number} [customerId] Customer ID
13727
+ * @param {*} [options] Override http request option.
13728
+ * @throws {RequiredError}
13729
+ */
13730
+ getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
13731
+ /**
13732
+ * Get Branded Videos
13733
+ * @param {number} [pageSize] Number Of Results
13734
+ * @param {number} [page] Page Number
13735
+ * @param {string} [search] Search
13736
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
13737
+ * @param {boolean} [outstanding] Outstanding
13738
+ * @param {boolean} [overdue] Overdue
13739
+ * @param {number} [customerId] Customer ID
13740
+ * @param {*} [options] Override http request option.
13741
+ * @throws {RequiredError}
13742
+ */
13743
+ getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<BrandedVideosSummariesModel>;
13744
+ /**
13745
+ * Get Thumbnails
13746
+ * @param {*} [options] Override http request option.
13747
+ * @throws {RequiredError}
13748
+ */
13749
+ getGetThumbnails(options?: RawAxiosRequestConfig): AxiosPromise<Array<ThumbnailDTO>>;
13750
+ /**
13751
+ * Upload logo
13752
+ * @param {File} logo Logo
13753
+ * @param {number} [customerId] Customer ID
13754
+ * @param {*} [options] Override http request option.
13755
+ * @throws {RequiredError}
13756
+ */
13757
+ postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
13758
+ /**
13759
+ * Send Branded Video Email
13760
+ * @param {string} email Email
13761
+ * @param {number} id Video ID
13762
+ * @param {number} [customerId] Customer ID
13763
+ * @param {*} [options] Override http request option.
13764
+ * @throws {RequiredError}
13765
+ */
13766
+ postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
13767
+ /**
13768
+ * Upload Video
13769
+ * @param {string} thumbnailId Thumbnail ID
13770
+ * @param {number} id Video ID
13771
+ * @param {File} video Video
13772
+ * @param {number} [customerId] Customer ID
13773
+ * @param {*} [options] Override http request option.
13774
+ * @throws {RequiredError}
13775
+ */
13776
+ postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<BrandedVideoSummaryDTO>;
13777
+ };
13778
+ /**
13779
+ * BrandedVideosApi - object-oriented interface
13780
+ */
13781
+ export declare class BrandedVideosApi extends BaseAPI {
13782
+ /**
13783
+ * Send Branded Video Email
13784
+ * @param {number} id Video ID
13785
+ * @param {number} [customerId] Customer ID
13786
+ * @param {*} [options] Override http request option.
13787
+ * @throws {RequiredError}
13788
+ */
13789
+ deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
13790
+ /**
13791
+ * Get Customer Logo
13792
+ * @param {number} [customerId] Customer ID
13793
+ * @param {*} [options] Override http request option.
13794
+ * @throws {RequiredError}
13795
+ */
13796
+ getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
13797
+ /**
13798
+ * Get Branded Videos
13799
+ * @param {number} [pageSize] Number Of Results
13800
+ * @param {number} [page] Page Number
13801
+ * @param {string} [search] Search
13802
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
13803
+ * @param {boolean} [outstanding] Outstanding
13804
+ * @param {boolean} [overdue] Overdue
13805
+ * @param {number} [customerId] Customer ID
13806
+ * @param {*} [options] Override http request option.
13807
+ * @throws {RequiredError}
13808
+ */
13809
+ getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BrandedVideosSummariesModel, any, {}>>;
13810
+ /**
13811
+ * Get Thumbnails
13812
+ * @param {*} [options] Override http request option.
13813
+ * @throws {RequiredError}
13814
+ */
13815
+ getGetThumbnails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ThumbnailDTO[], any, {}>>;
13816
+ /**
13817
+ * Upload logo
13818
+ * @param {File} logo Logo
13819
+ * @param {number} [customerId] Customer ID
13820
+ * @param {*} [options] Override http request option.
13821
+ * @throws {RequiredError}
13822
+ */
13823
+ postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
13824
+ /**
13825
+ * Send Branded Video Email
13826
+ * @param {string} email Email
13827
+ * @param {number} id Video ID
13828
+ * @param {number} [customerId] Customer ID
13829
+ * @param {*} [options] Override http request option.
13830
+ * @throws {RequiredError}
13831
+ */
13832
+ postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
13833
+ /**
13834
+ * Upload Video
13835
+ * @param {string} thumbnailId Thumbnail ID
13836
+ * @param {number} id Video ID
13837
+ * @param {File} video Video
13838
+ * @param {number} [customerId] Customer ID
13839
+ * @param {*} [options] Override http request option.
13840
+ * @throws {RequiredError}
13841
+ */
13842
+ postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BrandedVideoSummaryDTO, any, {}>>;
13843
+ }
13844
+ export declare const GetGetBrandedVideosTypeEnum: {
13845
+ readonly Paid: "paid";
13846
+ readonly Reward: "reward";
13847
+ readonly Sample: "sample";
13848
+ };
13849
+ export type GetGetBrandedVideosTypeEnum = typeof GetGetBrandedVideosTypeEnum[keyof typeof GetGetBrandedVideosTypeEnum];
13398
13850
  /**
13399
13851
  * CRMApi - axios parameter creator
13400
13852
  */
@@ -17058,6 +17510,8 @@ export declare const PostAccessTokenScopeEnum: {
17058
17510
  readonly TcxWizard: "tcx_wizard";
17059
17511
  readonly AccountsRead: "accounts.read";
17060
17512
  readonly AccountsWrite: "accounts.write";
17513
+ readonly BrandedVideosread: "branded_videosread";
17514
+ readonly BrandedVideoswrite: "branded_videoswrite";
17061
17515
  readonly NumberPortingRead: "number_porting.read";
17062
17516
  readonly NumberPortingWrite: "number_porting.write";
17063
17517
  readonly PricingRead: "pricing.read";
@@ -17094,6 +17548,8 @@ export declare const PostAuthoriseScopeEnum: {
17094
17548
  readonly TcxWizard: "tcx_wizard";
17095
17549
  readonly AccountsRead: "accounts.read";
17096
17550
  readonly AccountsWrite: "accounts.write";
17551
+ readonly BrandedVideosread: "branded_videosread";
17552
+ readonly BrandedVideoswrite: "branded_videoswrite";
17097
17553
  readonly NumberPortingRead: "number_porting.read";
17098
17554
  readonly NumberPortingWrite: "number_porting.write";
17099
17555
  readonly PricingRead: "pricing.read";