@raystack/frontier 0.57.0 → 0.58.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/index.js CHANGED
@@ -71,7 +71,8 @@ var src_exports = {};
71
71
  __export(src_exports, {
72
72
  FrontierClient: () => FrontierClient,
73
73
  ProtobufNullValue: () => ProtobufNullValue,
74
- V1Beta1: () => V1Beta1
74
+ V1Beta1: () => V1Beta1,
75
+ V1Beta1ProspectStatus: () => V1Beta1ProspectStatus
75
76
  });
76
77
  module.exports = __toCommonJS(src_exports);
77
78
 
@@ -306,6 +307,128 @@ var V1Beta1 = class extends HttpClient {
306
307
  secure: true,
307
308
  format: "json"
308
309
  }, params));
310
+ /**
311
+ * No description
312
+ *
313
+ * @tags Organization
314
+ * @name AdminServiceSearchOrganizationInvoices
315
+ * @summary Search organization invoices
316
+ * @request POST:/v1beta1/admin/organizations/{id}/invoices/search
317
+ * @secure
318
+ */
319
+ this.adminServiceSearchOrganizationInvoices = (id, query, params = {}) => this.request(__spreadValues({
320
+ path: `/v1beta1/admin/organizations/${id}/invoices/search`,
321
+ method: "POST",
322
+ body: query,
323
+ secure: true,
324
+ format: "json"
325
+ }, params));
326
+ /**
327
+ * @description Export organization projects with user IDs
328
+ *
329
+ * @tags Organization
330
+ * @name AdminServiceExportOrganizationProjects
331
+ * @summary Export organization projects
332
+ * @request GET:/v1beta1/admin/organizations/{id}/projects/export
333
+ * @secure
334
+ */
335
+ this.adminServiceExportOrganizationProjects = (id, params = {}) => this.request(__spreadValues({
336
+ path: `/v1beta1/admin/organizations/${id}/projects/export`,
337
+ method: "GET",
338
+ secure: true
339
+ }, params));
340
+ /**
341
+ * No description
342
+ *
343
+ * @tags Organization
344
+ * @name AdminServiceSearchOrganizationProjects
345
+ * @summary Search organization projects
346
+ * @request POST:/v1beta1/admin/organizations/{id}/projects/search
347
+ * @secure
348
+ */
349
+ this.adminServiceSearchOrganizationProjects = (id, query, params = {}) => this.request(__spreadValues({
350
+ path: `/v1beta1/admin/organizations/${id}/projects/search`,
351
+ method: "POST",
352
+ body: query,
353
+ secure: true,
354
+ format: "json"
355
+ }, params));
356
+ /**
357
+ * No description
358
+ *
359
+ * @tags Organization
360
+ * @name AdminServiceSearchOrganizationServiceUserCredentials
361
+ * @summary Search organization service user credentials
362
+ * @request POST:/v1beta1/admin/organizations/{id}/serviceuser_credentials/search
363
+ * @secure
364
+ */
365
+ this.adminServiceSearchOrganizationServiceUserCredentials = (id, query, params = {}) => this.request(__spreadValues({
366
+ path: `/v1beta1/admin/organizations/${id}/serviceuser_credentials/search`,
367
+ method: "POST",
368
+ body: query,
369
+ secure: true,
370
+ format: "json"
371
+ }, params));
372
+ /**
373
+ * @description Export organization tokens
374
+ *
375
+ * @tags Organization
376
+ * @name AdminServiceExportOrganizationTokens
377
+ * @summary Export organization tokens
378
+ * @request GET:/v1beta1/admin/organizations/{id}/tokens/export
379
+ * @secure
380
+ */
381
+ this.adminServiceExportOrganizationTokens = (id, params = {}) => this.request(__spreadValues({
382
+ path: `/v1beta1/admin/organizations/${id}/tokens/export`,
383
+ method: "GET",
384
+ secure: true
385
+ }, params));
386
+ /**
387
+ * No description
388
+ *
389
+ * @tags Organization
390
+ * @name AdminServiceSearchOrganizationTokens
391
+ * @summary Search organization tokens
392
+ * @request POST:/v1beta1/admin/organizations/{id}/tokens/search
393
+ * @secure
394
+ */
395
+ this.adminServiceSearchOrganizationTokens = (id, query, params = {}) => this.request(__spreadValues({
396
+ path: `/v1beta1/admin/organizations/${id}/tokens/search`,
397
+ method: "POST",
398
+ body: query,
399
+ secure: true,
400
+ format: "json"
401
+ }, params));
402
+ /**
403
+ * @description Export organization user their role details
404
+ *
405
+ * @tags Organization
406
+ * @name AdminServiceExportOrganizationUsers
407
+ * @summary Export organization users
408
+ * @request GET:/v1beta1/admin/organizations/{id}/users/export
409
+ * @secure
410
+ */
411
+ this.adminServiceExportOrganizationUsers = (id, params = {}) => this.request(__spreadValues({
412
+ path: `/v1beta1/admin/organizations/${id}/users/export`,
413
+ method: "GET",
414
+ secure: true
415
+ }, params));
416
+ /**
417
+ * No description
418
+ *
419
+ * @tags Organization
420
+ * @name AdminServiceSearchOrganizationUsers
421
+ * @summary Search organization users
422
+ * @request POST:/v1beta1/admin/organizations/{id}/users/search
423
+ * @secure
424
+ */
425
+ this.adminServiceSearchOrganizationUsers = (id, query, params = {}) => this.request(__spreadValues({
426
+ path: `/v1beta1/admin/organizations/${id}/users/search`,
427
+ method: "POST",
428
+ body: query,
429
+ secure: true,
430
+ format: "json"
431
+ }, params));
309
432
  /**
310
433
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
311
434
  *
@@ -391,6 +514,51 @@ var V1Beta1 = class extends HttpClient {
391
514
  type: "application/json" /* Json */,
392
515
  format: "json"
393
516
  }, params));
517
+ /**
518
+ * @description Export organization with demographic properties and billing plan details
519
+ *
520
+ * @tags Organization
521
+ * @name AdminServiceExportOrganizations
522
+ * @summary Export organizations
523
+ * @request GET:/v1beta1/admin/organizations/export
524
+ * @secure
525
+ */
526
+ this.adminServiceExportOrganizations = (params = {}) => this.request(__spreadValues({
527
+ path: `/v1beta1/admin/organizations/export`,
528
+ method: "GET",
529
+ secure: true
530
+ }, params));
531
+ /**
532
+ * @description List KYC information of all organization
533
+ *
534
+ * @tags OrganizationKyc
535
+ * @name AdminServiceListOrganizationsKyc
536
+ * @summary List KYC information of all organizations
537
+ * @request GET:/v1beta1/admin/organizations/kyc
538
+ * @secure
539
+ */
540
+ this.adminServiceListOrganizationsKyc = (params = {}) => this.request(__spreadValues({
541
+ path: `/v1beta1/admin/organizations/kyc`,
542
+ method: "GET",
543
+ secure: true,
544
+ format: "json"
545
+ }, params));
546
+ /**
547
+ * @description Search organization based on org demographic properties and billing plan details
548
+ *
549
+ * @tags Organization
550
+ * @name AdminServiceSearchOrganizations
551
+ * @summary Search organizations
552
+ * @request POST:/v1beta1/admin/organizations/search
553
+ * @secure
554
+ */
555
+ this.adminServiceSearchOrganizations = (query, params = {}) => this.request(__spreadValues({
556
+ path: `/v1beta1/admin/organizations/search`,
557
+ method: "POST",
558
+ body: query,
559
+ secure: true,
560
+ format: "json"
561
+ }, params));
394
562
  /**
395
563
  * @description Lists all the users added to the platform.
396
564
  *
@@ -456,6 +624,102 @@ var V1Beta1 = class extends HttpClient {
456
624
  secure: true,
457
625
  format: "json"
458
626
  }, params));
627
+ /**
628
+ * No description
629
+ *
630
+ * @tags Project
631
+ * @name AdminServiceSearchProjectUsers
632
+ * @summary Search Project users
633
+ * @request POST:/v1beta1/admin/projects/{id}/users/search
634
+ * @secure
635
+ */
636
+ this.adminServiceSearchProjectUsers = (id, query, params = {}) => this.request(__spreadValues({
637
+ path: `/v1beta1/admin/projects/${id}/users/search`,
638
+ method: "POST",
639
+ body: query,
640
+ secure: true,
641
+ format: "json"
642
+ }, params));
643
+ /**
644
+ * @description Create prospect for given email and activity.
645
+ *
646
+ * @tags Prospect
647
+ * @name AdminServiceCreateProspect
648
+ * @summary Create prospect
649
+ * @request POST:/v1beta1/admin/prospects
650
+ * @secure
651
+ */
652
+ this.adminServiceCreateProspect = (body, params = {}) => this.request(__spreadValues({
653
+ path: `/v1beta1/admin/prospects`,
654
+ method: "POST",
655
+ body,
656
+ secure: true,
657
+ type: "application/json" /* Json */,
658
+ format: "json"
659
+ }, params));
660
+ /**
661
+ * @description Get prospect by ID
662
+ *
663
+ * @tags Prospect
664
+ * @name AdminServiceGetProspect
665
+ * @summary Get prospect
666
+ * @request GET:/v1beta1/admin/prospects/{id}
667
+ * @secure
668
+ */
669
+ this.adminServiceGetProspect = (id, params = {}) => this.request(__spreadValues({
670
+ path: `/v1beta1/admin/prospects/${id}`,
671
+ method: "GET",
672
+ secure: true,
673
+ format: "json"
674
+ }, params));
675
+ /**
676
+ * @description Delete prospect for given ID
677
+ *
678
+ * @tags Prospect
679
+ * @name AdminServiceDeleteProspect
680
+ * @summary Delete prospect
681
+ * @request DELETE:/v1beta1/admin/prospects/{id}
682
+ * @secure
683
+ */
684
+ this.adminServiceDeleteProspect = (id, params = {}) => this.request(__spreadValues({
685
+ path: `/v1beta1/admin/prospects/${id}`,
686
+ method: "DELETE",
687
+ secure: true,
688
+ format: "json"
689
+ }, params));
690
+ /**
691
+ * @description Update prospect for given ID
692
+ *
693
+ * @tags Prospect
694
+ * @name AdminServiceUpdateProspect
695
+ * @summary Update prospect
696
+ * @request PUT:/v1beta1/admin/prospects/{id}
697
+ * @secure
698
+ */
699
+ this.adminServiceUpdateProspect = (id, body, params = {}) => this.request(__spreadValues({
700
+ path: `/v1beta1/admin/prospects/${id}`,
701
+ method: "PUT",
702
+ body,
703
+ secure: true,
704
+ type: "application/json" /* Json */,
705
+ format: "json"
706
+ }, params));
707
+ /**
708
+ * @description List prospects and supports filters, sorting and pagination.
709
+ *
710
+ * @tags Prospect
711
+ * @name AdminServiceListProspects
712
+ * @summary List prospects
713
+ * @request POST:/v1beta1/admin/prospects/list
714
+ * @secure
715
+ */
716
+ this.adminServiceListProspects = (query, params = {}) => this.request(__spreadValues({
717
+ path: `/v1beta1/admin/prospects/list`,
718
+ method: "POST",
719
+ body: query,
720
+ secure: true,
721
+ format: "json"
722
+ }, params));
459
723
  /**
460
724
  * No description
461
725
  *
@@ -1472,6 +1736,21 @@ var V1Beta1 = class extends HttpClient {
1472
1736
  secure: true,
1473
1737
  format: "json"
1474
1738
  }, params));
1739
+ /**
1740
+ * @description Sum of amount of debited transactions including refunds
1741
+ *
1742
+ * @tags Transaction
1743
+ * @name FrontierServiceTotalDebitedTransactions
1744
+ * @summary Sum of amount of debited transactions including refunds
1745
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/debited_transactions_total
1746
+ * @secure
1747
+ */
1748
+ this.frontierServiceTotalDebitedTransactions = (orgId, billingId, params = {}) => this.request(__spreadValues({
1749
+ path: `/v1beta1/organizations/${orgId}/billing/${billingId}/debited_transactions_total`,
1750
+ method: "GET",
1751
+ secure: true,
1752
+ format: "json"
1753
+ }, params));
1475
1754
  /**
1476
1755
  * @description List all invoices of a billing account.
1477
1756
  *
@@ -3106,6 +3385,23 @@ var V1Beta1 = class extends HttpClient {
3106
3385
  secure: true,
3107
3386
  format: "json"
3108
3387
  }, params));
3388
+ /**
3389
+ * @description Create prospect for given email and activity. Available for public access.
3390
+ *
3391
+ * @tags Prospect
3392
+ * @name FrontierServiceCreateProspectPublic
3393
+ * @summary Create prospect
3394
+ * @request POST:/v1beta1/prospects
3395
+ * @secure
3396
+ */
3397
+ this.frontierServiceCreateProspectPublic = (body, params = {}) => this.request(__spreadValues({
3398
+ path: `/v1beta1/prospects`,
3399
+ method: "POST",
3400
+ body,
3401
+ secure: true,
3402
+ type: "application/json" /* Json */,
3403
+ format: "json"
3404
+ }, params));
3109
3405
  /**
3110
3406
  * No description
3111
3407
  *
@@ -3567,6 +3863,12 @@ var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3567
3863
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3568
3864
  return ProtobufNullValue2;
3569
3865
  })(ProtobufNullValue || {});
3866
+ var V1Beta1ProspectStatus = /* @__PURE__ */ ((V1Beta1ProspectStatus2) => {
3867
+ V1Beta1ProspectStatus2["STATUS_UNSPECIFIED"] = "STATUS_UNSPECIFIED";
3868
+ V1Beta1ProspectStatus2["STATUS_UNSUBSCRIBED"] = "STATUS_UNSUBSCRIBED";
3869
+ V1Beta1ProspectStatus2["STATUS_SUBSCRIBED"] = "STATUS_SUBSCRIBED";
3870
+ return V1Beta1ProspectStatus2;
3871
+ })(V1Beta1ProspectStatus || {});
3570
3872
 
3571
3873
  // src/index.ts
3572
3874
  var FrontierClient = V1Beta1;
@@ -3574,5 +3876,6 @@ var FrontierClient = V1Beta1;
3574
3876
  0 && (module.exports = {
3575
3877
  FrontierClient,
3576
3878
  ProtobufNullValue,
3577
- V1Beta1
3879
+ V1Beta1,
3880
+ V1Beta1ProspectStatus
3578
3881
  });
package/dist/index.mjs CHANGED
@@ -281,6 +281,128 @@ var V1Beta1 = class extends HttpClient {
281
281
  secure: true,
282
282
  format: "json"
283
283
  }, params));
284
+ /**
285
+ * No description
286
+ *
287
+ * @tags Organization
288
+ * @name AdminServiceSearchOrganizationInvoices
289
+ * @summary Search organization invoices
290
+ * @request POST:/v1beta1/admin/organizations/{id}/invoices/search
291
+ * @secure
292
+ */
293
+ this.adminServiceSearchOrganizationInvoices = (id, query, params = {}) => this.request(__spreadValues({
294
+ path: `/v1beta1/admin/organizations/${id}/invoices/search`,
295
+ method: "POST",
296
+ body: query,
297
+ secure: true,
298
+ format: "json"
299
+ }, params));
300
+ /**
301
+ * @description Export organization projects with user IDs
302
+ *
303
+ * @tags Organization
304
+ * @name AdminServiceExportOrganizationProjects
305
+ * @summary Export organization projects
306
+ * @request GET:/v1beta1/admin/organizations/{id}/projects/export
307
+ * @secure
308
+ */
309
+ this.adminServiceExportOrganizationProjects = (id, params = {}) => this.request(__spreadValues({
310
+ path: `/v1beta1/admin/organizations/${id}/projects/export`,
311
+ method: "GET",
312
+ secure: true
313
+ }, params));
314
+ /**
315
+ * No description
316
+ *
317
+ * @tags Organization
318
+ * @name AdminServiceSearchOrganizationProjects
319
+ * @summary Search organization projects
320
+ * @request POST:/v1beta1/admin/organizations/{id}/projects/search
321
+ * @secure
322
+ */
323
+ this.adminServiceSearchOrganizationProjects = (id, query, params = {}) => this.request(__spreadValues({
324
+ path: `/v1beta1/admin/organizations/${id}/projects/search`,
325
+ method: "POST",
326
+ body: query,
327
+ secure: true,
328
+ format: "json"
329
+ }, params));
330
+ /**
331
+ * No description
332
+ *
333
+ * @tags Organization
334
+ * @name AdminServiceSearchOrganizationServiceUserCredentials
335
+ * @summary Search organization service user credentials
336
+ * @request POST:/v1beta1/admin/organizations/{id}/serviceuser_credentials/search
337
+ * @secure
338
+ */
339
+ this.adminServiceSearchOrganizationServiceUserCredentials = (id, query, params = {}) => this.request(__spreadValues({
340
+ path: `/v1beta1/admin/organizations/${id}/serviceuser_credentials/search`,
341
+ method: "POST",
342
+ body: query,
343
+ secure: true,
344
+ format: "json"
345
+ }, params));
346
+ /**
347
+ * @description Export organization tokens
348
+ *
349
+ * @tags Organization
350
+ * @name AdminServiceExportOrganizationTokens
351
+ * @summary Export organization tokens
352
+ * @request GET:/v1beta1/admin/organizations/{id}/tokens/export
353
+ * @secure
354
+ */
355
+ this.adminServiceExportOrganizationTokens = (id, params = {}) => this.request(__spreadValues({
356
+ path: `/v1beta1/admin/organizations/${id}/tokens/export`,
357
+ method: "GET",
358
+ secure: true
359
+ }, params));
360
+ /**
361
+ * No description
362
+ *
363
+ * @tags Organization
364
+ * @name AdminServiceSearchOrganizationTokens
365
+ * @summary Search organization tokens
366
+ * @request POST:/v1beta1/admin/organizations/{id}/tokens/search
367
+ * @secure
368
+ */
369
+ this.adminServiceSearchOrganizationTokens = (id, query, params = {}) => this.request(__spreadValues({
370
+ path: `/v1beta1/admin/organizations/${id}/tokens/search`,
371
+ method: "POST",
372
+ body: query,
373
+ secure: true,
374
+ format: "json"
375
+ }, params));
376
+ /**
377
+ * @description Export organization user their role details
378
+ *
379
+ * @tags Organization
380
+ * @name AdminServiceExportOrganizationUsers
381
+ * @summary Export organization users
382
+ * @request GET:/v1beta1/admin/organizations/{id}/users/export
383
+ * @secure
384
+ */
385
+ this.adminServiceExportOrganizationUsers = (id, params = {}) => this.request(__spreadValues({
386
+ path: `/v1beta1/admin/organizations/${id}/users/export`,
387
+ method: "GET",
388
+ secure: true
389
+ }, params));
390
+ /**
391
+ * No description
392
+ *
393
+ * @tags Organization
394
+ * @name AdminServiceSearchOrganizationUsers
395
+ * @summary Search organization users
396
+ * @request POST:/v1beta1/admin/organizations/{id}/users/search
397
+ * @secure
398
+ */
399
+ this.adminServiceSearchOrganizationUsers = (id, query, params = {}) => this.request(__spreadValues({
400
+ path: `/v1beta1/admin/organizations/${id}/users/search`,
401
+ method: "POST",
402
+ body: query,
403
+ secure: true,
404
+ format: "json"
405
+ }, params));
284
406
  /**
285
407
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
286
408
  *
@@ -366,6 +488,51 @@ var V1Beta1 = class extends HttpClient {
366
488
  type: "application/json" /* Json */,
367
489
  format: "json"
368
490
  }, params));
491
+ /**
492
+ * @description Export organization with demographic properties and billing plan details
493
+ *
494
+ * @tags Organization
495
+ * @name AdminServiceExportOrganizations
496
+ * @summary Export organizations
497
+ * @request GET:/v1beta1/admin/organizations/export
498
+ * @secure
499
+ */
500
+ this.adminServiceExportOrganizations = (params = {}) => this.request(__spreadValues({
501
+ path: `/v1beta1/admin/organizations/export`,
502
+ method: "GET",
503
+ secure: true
504
+ }, params));
505
+ /**
506
+ * @description List KYC information of all organization
507
+ *
508
+ * @tags OrganizationKyc
509
+ * @name AdminServiceListOrganizationsKyc
510
+ * @summary List KYC information of all organizations
511
+ * @request GET:/v1beta1/admin/organizations/kyc
512
+ * @secure
513
+ */
514
+ this.adminServiceListOrganizationsKyc = (params = {}) => this.request(__spreadValues({
515
+ path: `/v1beta1/admin/organizations/kyc`,
516
+ method: "GET",
517
+ secure: true,
518
+ format: "json"
519
+ }, params));
520
+ /**
521
+ * @description Search organization based on org demographic properties and billing plan details
522
+ *
523
+ * @tags Organization
524
+ * @name AdminServiceSearchOrganizations
525
+ * @summary Search organizations
526
+ * @request POST:/v1beta1/admin/organizations/search
527
+ * @secure
528
+ */
529
+ this.adminServiceSearchOrganizations = (query, params = {}) => this.request(__spreadValues({
530
+ path: `/v1beta1/admin/organizations/search`,
531
+ method: "POST",
532
+ body: query,
533
+ secure: true,
534
+ format: "json"
535
+ }, params));
369
536
  /**
370
537
  * @description Lists all the users added to the platform.
371
538
  *
@@ -431,6 +598,102 @@ var V1Beta1 = class extends HttpClient {
431
598
  secure: true,
432
599
  format: "json"
433
600
  }, params));
601
+ /**
602
+ * No description
603
+ *
604
+ * @tags Project
605
+ * @name AdminServiceSearchProjectUsers
606
+ * @summary Search Project users
607
+ * @request POST:/v1beta1/admin/projects/{id}/users/search
608
+ * @secure
609
+ */
610
+ this.adminServiceSearchProjectUsers = (id, query, params = {}) => this.request(__spreadValues({
611
+ path: `/v1beta1/admin/projects/${id}/users/search`,
612
+ method: "POST",
613
+ body: query,
614
+ secure: true,
615
+ format: "json"
616
+ }, params));
617
+ /**
618
+ * @description Create prospect for given email and activity.
619
+ *
620
+ * @tags Prospect
621
+ * @name AdminServiceCreateProspect
622
+ * @summary Create prospect
623
+ * @request POST:/v1beta1/admin/prospects
624
+ * @secure
625
+ */
626
+ this.adminServiceCreateProspect = (body, params = {}) => this.request(__spreadValues({
627
+ path: `/v1beta1/admin/prospects`,
628
+ method: "POST",
629
+ body,
630
+ secure: true,
631
+ type: "application/json" /* Json */,
632
+ format: "json"
633
+ }, params));
634
+ /**
635
+ * @description Get prospect by ID
636
+ *
637
+ * @tags Prospect
638
+ * @name AdminServiceGetProspect
639
+ * @summary Get prospect
640
+ * @request GET:/v1beta1/admin/prospects/{id}
641
+ * @secure
642
+ */
643
+ this.adminServiceGetProspect = (id, params = {}) => this.request(__spreadValues({
644
+ path: `/v1beta1/admin/prospects/${id}`,
645
+ method: "GET",
646
+ secure: true,
647
+ format: "json"
648
+ }, params));
649
+ /**
650
+ * @description Delete prospect for given ID
651
+ *
652
+ * @tags Prospect
653
+ * @name AdminServiceDeleteProspect
654
+ * @summary Delete prospect
655
+ * @request DELETE:/v1beta1/admin/prospects/{id}
656
+ * @secure
657
+ */
658
+ this.adminServiceDeleteProspect = (id, params = {}) => this.request(__spreadValues({
659
+ path: `/v1beta1/admin/prospects/${id}`,
660
+ method: "DELETE",
661
+ secure: true,
662
+ format: "json"
663
+ }, params));
664
+ /**
665
+ * @description Update prospect for given ID
666
+ *
667
+ * @tags Prospect
668
+ * @name AdminServiceUpdateProspect
669
+ * @summary Update prospect
670
+ * @request PUT:/v1beta1/admin/prospects/{id}
671
+ * @secure
672
+ */
673
+ this.adminServiceUpdateProspect = (id, body, params = {}) => this.request(__spreadValues({
674
+ path: `/v1beta1/admin/prospects/${id}`,
675
+ method: "PUT",
676
+ body,
677
+ secure: true,
678
+ type: "application/json" /* Json */,
679
+ format: "json"
680
+ }, params));
681
+ /**
682
+ * @description List prospects and supports filters, sorting and pagination.
683
+ *
684
+ * @tags Prospect
685
+ * @name AdminServiceListProspects
686
+ * @summary List prospects
687
+ * @request POST:/v1beta1/admin/prospects/list
688
+ * @secure
689
+ */
690
+ this.adminServiceListProspects = (query, params = {}) => this.request(__spreadValues({
691
+ path: `/v1beta1/admin/prospects/list`,
692
+ method: "POST",
693
+ body: query,
694
+ secure: true,
695
+ format: "json"
696
+ }, params));
434
697
  /**
435
698
  * No description
436
699
  *
@@ -1447,6 +1710,21 @@ var V1Beta1 = class extends HttpClient {
1447
1710
  secure: true,
1448
1711
  format: "json"
1449
1712
  }, params));
1713
+ /**
1714
+ * @description Sum of amount of debited transactions including refunds
1715
+ *
1716
+ * @tags Transaction
1717
+ * @name FrontierServiceTotalDebitedTransactions
1718
+ * @summary Sum of amount of debited transactions including refunds
1719
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/debited_transactions_total
1720
+ * @secure
1721
+ */
1722
+ this.frontierServiceTotalDebitedTransactions = (orgId, billingId, params = {}) => this.request(__spreadValues({
1723
+ path: `/v1beta1/organizations/${orgId}/billing/${billingId}/debited_transactions_total`,
1724
+ method: "GET",
1725
+ secure: true,
1726
+ format: "json"
1727
+ }, params));
1450
1728
  /**
1451
1729
  * @description List all invoices of a billing account.
1452
1730
  *
@@ -3081,6 +3359,23 @@ var V1Beta1 = class extends HttpClient {
3081
3359
  secure: true,
3082
3360
  format: "json"
3083
3361
  }, params));
3362
+ /**
3363
+ * @description Create prospect for given email and activity. Available for public access.
3364
+ *
3365
+ * @tags Prospect
3366
+ * @name FrontierServiceCreateProspectPublic
3367
+ * @summary Create prospect
3368
+ * @request POST:/v1beta1/prospects
3369
+ * @secure
3370
+ */
3371
+ this.frontierServiceCreateProspectPublic = (body, params = {}) => this.request(__spreadValues({
3372
+ path: `/v1beta1/prospects`,
3373
+ method: "POST",
3374
+ body,
3375
+ secure: true,
3376
+ type: "application/json" /* Json */,
3377
+ format: "json"
3378
+ }, params));
3084
3379
  /**
3085
3380
  * No description
3086
3381
  *
@@ -3542,11 +3837,18 @@ var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3542
3837
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3543
3838
  return ProtobufNullValue2;
3544
3839
  })(ProtobufNullValue || {});
3840
+ var V1Beta1ProspectStatus = /* @__PURE__ */ ((V1Beta1ProspectStatus2) => {
3841
+ V1Beta1ProspectStatus2["STATUS_UNSPECIFIED"] = "STATUS_UNSPECIFIED";
3842
+ V1Beta1ProspectStatus2["STATUS_UNSUBSCRIBED"] = "STATUS_UNSUBSCRIBED";
3843
+ V1Beta1ProspectStatus2["STATUS_SUBSCRIBED"] = "STATUS_SUBSCRIBED";
3844
+ return V1Beta1ProspectStatus2;
3845
+ })(V1Beta1ProspectStatus || {});
3545
3846
 
3546
3847
  // src/index.ts
3547
3848
  var FrontierClient = V1Beta1;
3548
3849
  export {
3549
3850
  FrontierClient,
3550
3851
  ProtobufNullValue,
3551
- V1Beta1
3852
+ V1Beta1,
3853
+ V1Beta1ProspectStatus
3552
3854
  };