yellowgrid-api-ts 3.2.132-dev.0 → 3.2.134-dev.0

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
@@ -918,6 +918,7 @@ export declare const AuditLogEntityTypeEnum: {
918
918
  readonly PopsPromoCodes: "pops_promo_codes";
919
919
  readonly PopsPromoItems: "pops_promo_items";
920
920
  readonly PopsProvisioning: "pops_provisioning";
921
+ readonly PopsProspectsV2: "pops_prospects_v2";
921
922
  readonly S3Buckets: "s3_buckets";
922
923
  readonly PopsShipmentAddress: "pops_shipment_address";
923
924
  readonly PopsShipments: "pops_shipments";
@@ -4593,6 +4594,100 @@ export interface PromoItemsEntity {
4593
4594
  */
4594
4595
  'bulkAdd'?: number;
4595
4596
  }
4597
+ /**
4598
+ * Prospect
4599
+ */
4600
+ export interface ProspectDTO {
4601
+ /**
4602
+ * Company Name
4603
+ */
4604
+ 'companyName'?: string;
4605
+ /**
4606
+ * Telephone
4607
+ */
4608
+ 'telephone'?: string | null;
4609
+ /**
4610
+ * Date Time
4611
+ */
4612
+ 'lastOrderDate'?: string | null;
4613
+ /**
4614
+ * Date Time
4615
+ */
4616
+ 'callbackDate'?: string | null;
4617
+ /**
4618
+ * Xero ID
4619
+ */
4620
+ 'xeroId'?: string;
4621
+ /**
4622
+ * Removed From Prospects
4623
+ */
4624
+ 'removed'?: boolean;
4625
+ /**
4626
+ * Status
4627
+ */
4628
+ 'status'?: ProspectDTOStatusEnum;
4629
+ /**
4630
+ * Order Count
4631
+ */
4632
+ 'orderCount'?: number;
4633
+ }
4634
+ export declare const ProspectDTOStatusEnum: {
4635
+ readonly NoCallBackSet: "No Call Back Set";
4636
+ readonly CallBackDue: "Call Back Due";
4637
+ readonly NoOrdersPlaced: "No Orders Placed";
4638
+ readonly NoOrdersInTheLast4Months: "No Orders In The Last 4 Months";
4639
+ readonly NoActionRequired: "No Action Required";
4640
+ };
4641
+ export type ProspectDTOStatusEnum = typeof ProspectDTOStatusEnum[keyof typeof ProspectDTOStatusEnum];
4642
+ /**
4643
+ * ProspectEntity
4644
+ */
4645
+ export interface ProspectEntity {
4646
+ /**
4647
+ * id
4648
+ */
4649
+ 'id'?: number;
4650
+ /**
4651
+ * status
4652
+ */
4653
+ 'status'?: number;
4654
+ /**
4655
+ * customerId
4656
+ */
4657
+ 'customerId'?: number;
4658
+ /**
4659
+ * companyName
4660
+ */
4661
+ 'companyName'?: string;
4662
+ /**
4663
+ * contactName
4664
+ */
4665
+ 'contactName'?: string;
4666
+ /**
4667
+ * telephone
4668
+ */
4669
+ 'telephone'?: string;
4670
+ /**
4671
+ * email
4672
+ */
4673
+ 'email'?: string;
4674
+ /**
4675
+ * reason
4676
+ */
4677
+ 'reason'?: string;
4678
+ /**
4679
+ * lastOrderDate
4680
+ */
4681
+ 'lastOrderDate'?: string;
4682
+ /**
4683
+ * followUpDate
4684
+ */
4685
+ 'followUpDate'?: string;
4686
+ /**
4687
+ * notes
4688
+ */
4689
+ 'notes'?: string;
4690
+ }
4596
4691
  /**
4597
4692
  * Provisioning Group
4598
4693
  */
@@ -14193,6 +14288,158 @@ export declare const GetGetLegacyStockListFormatEnum: {
14193
14288
  readonly Csv: "CSV";
14194
14289
  };
14195
14290
  export type GetGetLegacyStockListFormatEnum = typeof GetGetLegacyStockListFormatEnum[keyof typeof GetGetLegacyStockListFormatEnum];
14291
+ /**
14292
+ * ProspectsApi - axios parameter creator
14293
+ */
14294
+ export declare const ProspectsApiAxiosParamCreator: (configuration?: Configuration) => {
14295
+ /**
14296
+ * Get Prospect
14297
+ * @summary Get Prospect
14298
+ * @param {string} xeroId Xero ID
14299
+ * @param {*} [options] Override http request option.
14300
+ * @throws {RequiredError}
14301
+ */
14302
+ getGetProspect: (xeroId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14303
+ /**
14304
+ * Get Prospects
14305
+ * @summary Get Prospects
14306
+ * @param {*} [options] Override http request option.
14307
+ * @throws {RequiredError}
14308
+ */
14309
+ getGetProspects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14310
+ /**
14311
+ * Remove From Prospect
14312
+ * @summary Remove From Prospects
14313
+ * @param {string} xeroId Xero ID
14314
+ * @param {boolean} status Status
14315
+ * @param {*} [options] Override http request option.
14316
+ * @throws {RequiredError}
14317
+ */
14318
+ getRemoveFromProspects: (xeroId: string, status: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14319
+ /**
14320
+ * Set Call Back Date
14321
+ * @summary Set Call Back Date
14322
+ * @param {string} xeroId Xero ID
14323
+ * @param {string} date Callback Date
14324
+ * @param {*} [options] Override http request option.
14325
+ * @throws {RequiredError}
14326
+ */
14327
+ getSetCallback: (xeroId: string, date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14328
+ };
14329
+ /**
14330
+ * ProspectsApi - functional programming interface
14331
+ */
14332
+ export declare const ProspectsApiFp: (configuration?: Configuration) => {
14333
+ /**
14334
+ * Get Prospect
14335
+ * @summary Get Prospect
14336
+ * @param {string} xeroId Xero ID
14337
+ * @param {*} [options] Override http request option.
14338
+ * @throws {RequiredError}
14339
+ */
14340
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14341
+ /**
14342
+ * Get Prospects
14343
+ * @summary Get Prospects
14344
+ * @param {*} [options] Override http request option.
14345
+ * @throws {RequiredError}
14346
+ */
14347
+ getGetProspects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProspectDTO>>>;
14348
+ /**
14349
+ * Remove From Prospect
14350
+ * @summary Remove From Prospects
14351
+ * @param {string} xeroId Xero ID
14352
+ * @param {boolean} status Status
14353
+ * @param {*} [options] Override http request option.
14354
+ * @throws {RequiredError}
14355
+ */
14356
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14357
+ /**
14358
+ * Set Call Back Date
14359
+ * @summary Set Call Back Date
14360
+ * @param {string} xeroId Xero ID
14361
+ * @param {string} date Callback Date
14362
+ * @param {*} [options] Override http request option.
14363
+ * @throws {RequiredError}
14364
+ */
14365
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14366
+ };
14367
+ /**
14368
+ * ProspectsApi - factory interface
14369
+ */
14370
+ export declare const ProspectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14371
+ /**
14372
+ * Get Prospect
14373
+ * @summary Get Prospect
14374
+ * @param {string} xeroId Xero ID
14375
+ * @param {*} [options] Override http request option.
14376
+ * @throws {RequiredError}
14377
+ */
14378
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14379
+ /**
14380
+ * Get Prospects
14381
+ * @summary Get Prospects
14382
+ * @param {*} [options] Override http request option.
14383
+ * @throws {RequiredError}
14384
+ */
14385
+ getGetProspects(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProspectDTO>>;
14386
+ /**
14387
+ * Remove From Prospect
14388
+ * @summary Remove From Prospects
14389
+ * @param {string} xeroId Xero ID
14390
+ * @param {boolean} status Status
14391
+ * @param {*} [options] Override http request option.
14392
+ * @throws {RequiredError}
14393
+ */
14394
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14395
+ /**
14396
+ * Set Call Back Date
14397
+ * @summary Set Call Back Date
14398
+ * @param {string} xeroId Xero ID
14399
+ * @param {string} date Callback Date
14400
+ * @param {*} [options] Override http request option.
14401
+ * @throws {RequiredError}
14402
+ */
14403
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14404
+ };
14405
+ /**
14406
+ * ProspectsApi - object-oriented interface
14407
+ */
14408
+ export declare class ProspectsApi extends BaseAPI {
14409
+ /**
14410
+ * Get Prospect
14411
+ * @summary Get Prospect
14412
+ * @param {string} xeroId Xero ID
14413
+ * @param {*} [options] Override http request option.
14414
+ * @throws {RequiredError}
14415
+ */
14416
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14417
+ /**
14418
+ * Get Prospects
14419
+ * @summary Get Prospects
14420
+ * @param {*} [options] Override http request option.
14421
+ * @throws {RequiredError}
14422
+ */
14423
+ getGetProspects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO[], any, {}>>;
14424
+ /**
14425
+ * Remove From Prospect
14426
+ * @summary Remove From Prospects
14427
+ * @param {string} xeroId Xero ID
14428
+ * @param {boolean} status Status
14429
+ * @param {*} [options] Override http request option.
14430
+ * @throws {RequiredError}
14431
+ */
14432
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14433
+ /**
14434
+ * Set Call Back Date
14435
+ * @summary Set Call Back Date
14436
+ * @param {string} xeroId Xero ID
14437
+ * @param {string} date Callback Date
14438
+ * @param {*} [options] Override http request option.
14439
+ * @throws {RequiredError}
14440
+ */
14441
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14442
+ }
14196
14443
  /**
14197
14444
  * ProvisioningApi - axios parameter creator
14198
14445
  */