yellowgrid-api-ts 3.2.132-dev.0 → 3.2.133-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,96 @@ 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
+ export declare const ProspectDTOStatusEnum: {
4631
+ readonly NoCallBackSet: "No Call Back Set";
4632
+ readonly CallBackDue: "Call Back Due";
4633
+ readonly NoOrdersPlaced: "No Orders Placed";
4634
+ readonly NoOrdersInTheLast4Months: "No Orders In The Last 4 Months";
4635
+ readonly NoActionRequired: "No Action Required";
4636
+ };
4637
+ export type ProspectDTOStatusEnum = typeof ProspectDTOStatusEnum[keyof typeof ProspectDTOStatusEnum];
4638
+ /**
4639
+ * ProspectEntity
4640
+ */
4641
+ export interface ProspectEntity {
4642
+ /**
4643
+ * id
4644
+ */
4645
+ 'id'?: number;
4646
+ /**
4647
+ * status
4648
+ */
4649
+ 'status'?: number;
4650
+ /**
4651
+ * customerId
4652
+ */
4653
+ 'customerId'?: number;
4654
+ /**
4655
+ * companyName
4656
+ */
4657
+ 'companyName'?: string;
4658
+ /**
4659
+ * contactName
4660
+ */
4661
+ 'contactName'?: string;
4662
+ /**
4663
+ * telephone
4664
+ */
4665
+ 'telephone'?: string;
4666
+ /**
4667
+ * email
4668
+ */
4669
+ 'email'?: string;
4670
+ /**
4671
+ * reason
4672
+ */
4673
+ 'reason'?: string;
4674
+ /**
4675
+ * lastOrderDate
4676
+ */
4677
+ 'lastOrderDate'?: string;
4678
+ /**
4679
+ * followUpDate
4680
+ */
4681
+ 'followUpDate'?: string;
4682
+ /**
4683
+ * notes
4684
+ */
4685
+ 'notes'?: string;
4686
+ }
4596
4687
  /**
4597
4688
  * Provisioning Group
4598
4689
  */
@@ -14193,6 +14284,158 @@ export declare const GetGetLegacyStockListFormatEnum: {
14193
14284
  readonly Csv: "CSV";
14194
14285
  };
14195
14286
  export type GetGetLegacyStockListFormatEnum = typeof GetGetLegacyStockListFormatEnum[keyof typeof GetGetLegacyStockListFormatEnum];
14287
+ /**
14288
+ * ProspectsApi - axios parameter creator
14289
+ */
14290
+ export declare const ProspectsApiAxiosParamCreator: (configuration?: Configuration) => {
14291
+ /**
14292
+ * Get Prospect
14293
+ * @summary Get Prospect
14294
+ * @param {string} xeroId Xero ID
14295
+ * @param {*} [options] Override http request option.
14296
+ * @throws {RequiredError}
14297
+ */
14298
+ getGetProspect: (xeroId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14299
+ /**
14300
+ * Get Prospects
14301
+ * @summary Get Prospects
14302
+ * @param {*} [options] Override http request option.
14303
+ * @throws {RequiredError}
14304
+ */
14305
+ getGetProspects: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14306
+ /**
14307
+ * Remove From Prospect
14308
+ * @summary Remove From Prospects
14309
+ * @param {string} xeroId Xero ID
14310
+ * @param {boolean} status Status
14311
+ * @param {*} [options] Override http request option.
14312
+ * @throws {RequiredError}
14313
+ */
14314
+ getRemoveFromProspects: (xeroId: string, status: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14315
+ /**
14316
+ * Set Call Back Date
14317
+ * @summary Set Call Back Date
14318
+ * @param {string} xeroId Xero ID
14319
+ * @param {string} date Callback Date
14320
+ * @param {*} [options] Override http request option.
14321
+ * @throws {RequiredError}
14322
+ */
14323
+ getSetCallback: (xeroId: string, date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14324
+ };
14325
+ /**
14326
+ * ProspectsApi - functional programming interface
14327
+ */
14328
+ export declare const ProspectsApiFp: (configuration?: Configuration) => {
14329
+ /**
14330
+ * Get Prospect
14331
+ * @summary Get Prospect
14332
+ * @param {string} xeroId Xero ID
14333
+ * @param {*} [options] Override http request option.
14334
+ * @throws {RequiredError}
14335
+ */
14336
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14337
+ /**
14338
+ * Get Prospects
14339
+ * @summary Get Prospects
14340
+ * @param {*} [options] Override http request option.
14341
+ * @throws {RequiredError}
14342
+ */
14343
+ getGetProspects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProspectDTO>>>;
14344
+ /**
14345
+ * Remove From Prospect
14346
+ * @summary Remove From Prospects
14347
+ * @param {string} xeroId Xero ID
14348
+ * @param {boolean} status Status
14349
+ * @param {*} [options] Override http request option.
14350
+ * @throws {RequiredError}
14351
+ */
14352
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14353
+ /**
14354
+ * Set Call Back Date
14355
+ * @summary Set Call Back Date
14356
+ * @param {string} xeroId Xero ID
14357
+ * @param {string} date Callback Date
14358
+ * @param {*} [options] Override http request option.
14359
+ * @throws {RequiredError}
14360
+ */
14361
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProspectDTO>>;
14362
+ };
14363
+ /**
14364
+ * ProspectsApi - factory interface
14365
+ */
14366
+ export declare const ProspectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14367
+ /**
14368
+ * Get Prospect
14369
+ * @summary Get Prospect
14370
+ * @param {string} xeroId Xero ID
14371
+ * @param {*} [options] Override http request option.
14372
+ * @throws {RequiredError}
14373
+ */
14374
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14375
+ /**
14376
+ * Get Prospects
14377
+ * @summary Get Prospects
14378
+ * @param {*} [options] Override http request option.
14379
+ * @throws {RequiredError}
14380
+ */
14381
+ getGetProspects(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProspectDTO>>;
14382
+ /**
14383
+ * Remove From Prospect
14384
+ * @summary Remove From Prospects
14385
+ * @param {string} xeroId Xero ID
14386
+ * @param {boolean} status Status
14387
+ * @param {*} [options] Override http request option.
14388
+ * @throws {RequiredError}
14389
+ */
14390
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14391
+ /**
14392
+ * Set Call Back Date
14393
+ * @summary Set Call Back Date
14394
+ * @param {string} xeroId Xero ID
14395
+ * @param {string} date Callback Date
14396
+ * @param {*} [options] Override http request option.
14397
+ * @throws {RequiredError}
14398
+ */
14399
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): AxiosPromise<ProspectDTO>;
14400
+ };
14401
+ /**
14402
+ * ProspectsApi - object-oriented interface
14403
+ */
14404
+ export declare class ProspectsApi extends BaseAPI {
14405
+ /**
14406
+ * Get Prospect
14407
+ * @summary Get Prospect
14408
+ * @param {string} xeroId Xero ID
14409
+ * @param {*} [options] Override http request option.
14410
+ * @throws {RequiredError}
14411
+ */
14412
+ getGetProspect(xeroId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14413
+ /**
14414
+ * Get Prospects
14415
+ * @summary Get Prospects
14416
+ * @param {*} [options] Override http request option.
14417
+ * @throws {RequiredError}
14418
+ */
14419
+ getGetProspects(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO[], any, {}>>;
14420
+ /**
14421
+ * Remove From Prospect
14422
+ * @summary Remove From Prospects
14423
+ * @param {string} xeroId Xero ID
14424
+ * @param {boolean} status Status
14425
+ * @param {*} [options] Override http request option.
14426
+ * @throws {RequiredError}
14427
+ */
14428
+ getRemoveFromProspects(xeroId: string, status: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14429
+ /**
14430
+ * Set Call Back Date
14431
+ * @summary Set Call Back Date
14432
+ * @param {string} xeroId Xero ID
14433
+ * @param {string} date Callback Date
14434
+ * @param {*} [options] Override http request option.
14435
+ * @throws {RequiredError}
14436
+ */
14437
+ getSetCallback(xeroId: string, date: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProspectDTO, any, {}>>;
14438
+ }
14196
14439
  /**
14197
14440
  * ProvisioningApi - axios parameter creator
14198
14441
  */