@stacksjs/payments 0.58.24 → 0.58.27
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 +254 -244
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2682,6 +2682,11 @@ __export(exports_resources, {
|
|
|
2682
2682
|
return Customers2;
|
|
2683
2683
|
}
|
|
2684
2684
|
},
|
|
2685
|
+
CustomerSessions: () => {
|
|
2686
|
+
{
|
|
2687
|
+
return CustomerSessions;
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2685
2690
|
CreditNotes: () => {
|
|
2686
2691
|
{
|
|
2687
2692
|
return CreditNotes;
|
|
@@ -4530,136 +4535,141 @@ var CreditNotes = StripeResource.extend({
|
|
|
4530
4535
|
fullPath: "/v1/credit_notes/{id}/void"
|
|
4531
4536
|
})
|
|
4532
4537
|
});
|
|
4533
|
-
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/
|
|
4538
|
+
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/CustomerSessions.js
|
|
4534
4539
|
var stripeMethod67 = StripeResource.method;
|
|
4540
|
+
var CustomerSessions = StripeResource.extend({
|
|
4541
|
+
create: stripeMethod67({ method: "POST", fullPath: "/v1/customer_sessions" })
|
|
4542
|
+
});
|
|
4543
|
+
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Customers.js
|
|
4544
|
+
var stripeMethod68 = StripeResource.method;
|
|
4535
4545
|
var Customers2 = StripeResource.extend({
|
|
4536
|
-
create:
|
|
4537
|
-
retrieve:
|
|
4538
|
-
update:
|
|
4539
|
-
list:
|
|
4546
|
+
create: stripeMethod68({ method: "POST", fullPath: "/v1/customers" }),
|
|
4547
|
+
retrieve: stripeMethod68({ method: "GET", fullPath: "/v1/customers/{customer}" }),
|
|
4548
|
+
update: stripeMethod68({ method: "POST", fullPath: "/v1/customers/{customer}" }),
|
|
4549
|
+
list: stripeMethod68({
|
|
4540
4550
|
method: "GET",
|
|
4541
4551
|
fullPath: "/v1/customers",
|
|
4542
4552
|
methodType: "list"
|
|
4543
4553
|
}),
|
|
4544
|
-
del:
|
|
4545
|
-
createFundingInstructions:
|
|
4554
|
+
del: stripeMethod68({ method: "DELETE", fullPath: "/v1/customers/{customer}" }),
|
|
4555
|
+
createFundingInstructions: stripeMethod68({
|
|
4546
4556
|
method: "POST",
|
|
4547
4557
|
fullPath: "/v1/customers/{customer}/funding_instructions"
|
|
4548
4558
|
}),
|
|
4549
|
-
createBalanceTransaction:
|
|
4559
|
+
createBalanceTransaction: stripeMethod68({
|
|
4550
4560
|
method: "POST",
|
|
4551
4561
|
fullPath: "/v1/customers/{customer}/balance_transactions"
|
|
4552
4562
|
}),
|
|
4553
|
-
createSource:
|
|
4563
|
+
createSource: stripeMethod68({
|
|
4554
4564
|
method: "POST",
|
|
4555
4565
|
fullPath: "/v1/customers/{customer}/sources"
|
|
4556
4566
|
}),
|
|
4557
|
-
createTaxId:
|
|
4567
|
+
createTaxId: stripeMethod68({
|
|
4558
4568
|
method: "POST",
|
|
4559
4569
|
fullPath: "/v1/customers/{customer}/tax_ids"
|
|
4560
4570
|
}),
|
|
4561
|
-
deleteDiscount:
|
|
4571
|
+
deleteDiscount: stripeMethod68({
|
|
4562
4572
|
method: "DELETE",
|
|
4563
4573
|
fullPath: "/v1/customers/{customer}/discount"
|
|
4564
4574
|
}),
|
|
4565
|
-
deleteSource:
|
|
4575
|
+
deleteSource: stripeMethod68({
|
|
4566
4576
|
method: "DELETE",
|
|
4567
4577
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4568
4578
|
}),
|
|
4569
|
-
deleteTaxId:
|
|
4579
|
+
deleteTaxId: stripeMethod68({
|
|
4570
4580
|
method: "DELETE",
|
|
4571
4581
|
fullPath: "/v1/customers/{customer}/tax_ids/{id}"
|
|
4572
4582
|
}),
|
|
4573
|
-
listPaymentMethods:
|
|
4583
|
+
listPaymentMethods: stripeMethod68({
|
|
4574
4584
|
method: "GET",
|
|
4575
4585
|
fullPath: "/v1/customers/{customer}/payment_methods",
|
|
4576
4586
|
methodType: "list"
|
|
4577
4587
|
}),
|
|
4578
|
-
listBalanceTransactions:
|
|
4588
|
+
listBalanceTransactions: stripeMethod68({
|
|
4579
4589
|
method: "GET",
|
|
4580
4590
|
fullPath: "/v1/customers/{customer}/balance_transactions",
|
|
4581
4591
|
methodType: "list"
|
|
4582
4592
|
}),
|
|
4583
|
-
listCashBalanceTransactions:
|
|
4593
|
+
listCashBalanceTransactions: stripeMethod68({
|
|
4584
4594
|
method: "GET",
|
|
4585
4595
|
fullPath: "/v1/customers/{customer}/cash_balance_transactions",
|
|
4586
4596
|
methodType: "list"
|
|
4587
4597
|
}),
|
|
4588
|
-
listSources:
|
|
4598
|
+
listSources: stripeMethod68({
|
|
4589
4599
|
method: "GET",
|
|
4590
4600
|
fullPath: "/v1/customers/{customer}/sources",
|
|
4591
4601
|
methodType: "list"
|
|
4592
4602
|
}),
|
|
4593
|
-
listTaxIds:
|
|
4603
|
+
listTaxIds: stripeMethod68({
|
|
4594
4604
|
method: "GET",
|
|
4595
4605
|
fullPath: "/v1/customers/{customer}/tax_ids",
|
|
4596
4606
|
methodType: "list"
|
|
4597
4607
|
}),
|
|
4598
|
-
retrievePaymentMethod:
|
|
4608
|
+
retrievePaymentMethod: stripeMethod68({
|
|
4599
4609
|
method: "GET",
|
|
4600
4610
|
fullPath: "/v1/customers/{customer}/payment_methods/{payment_method}"
|
|
4601
4611
|
}),
|
|
4602
|
-
retrieveBalanceTransaction:
|
|
4612
|
+
retrieveBalanceTransaction: stripeMethod68({
|
|
4603
4613
|
method: "GET",
|
|
4604
4614
|
fullPath: "/v1/customers/{customer}/balance_transactions/{transaction}"
|
|
4605
4615
|
}),
|
|
4606
|
-
retrieveCashBalance:
|
|
4616
|
+
retrieveCashBalance: stripeMethod68({
|
|
4607
4617
|
method: "GET",
|
|
4608
4618
|
fullPath: "/v1/customers/{customer}/cash_balance"
|
|
4609
4619
|
}),
|
|
4610
|
-
retrieveCashBalanceTransaction:
|
|
4620
|
+
retrieveCashBalanceTransaction: stripeMethod68({
|
|
4611
4621
|
method: "GET",
|
|
4612
4622
|
fullPath: "/v1/customers/{customer}/cash_balance_transactions/{transaction}"
|
|
4613
4623
|
}),
|
|
4614
|
-
retrieveSource:
|
|
4624
|
+
retrieveSource: stripeMethod68({
|
|
4615
4625
|
method: "GET",
|
|
4616
4626
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4617
4627
|
}),
|
|
4618
|
-
retrieveTaxId:
|
|
4628
|
+
retrieveTaxId: stripeMethod68({
|
|
4619
4629
|
method: "GET",
|
|
4620
4630
|
fullPath: "/v1/customers/{customer}/tax_ids/{id}"
|
|
4621
4631
|
}),
|
|
4622
|
-
search:
|
|
4632
|
+
search: stripeMethod68({
|
|
4623
4633
|
method: "GET",
|
|
4624
4634
|
fullPath: "/v1/customers/search",
|
|
4625
4635
|
methodType: "search"
|
|
4626
4636
|
}),
|
|
4627
|
-
updateBalanceTransaction:
|
|
4637
|
+
updateBalanceTransaction: stripeMethod68({
|
|
4628
4638
|
method: "POST",
|
|
4629
4639
|
fullPath: "/v1/customers/{customer}/balance_transactions/{transaction}"
|
|
4630
4640
|
}),
|
|
4631
|
-
updateCashBalance:
|
|
4641
|
+
updateCashBalance: stripeMethod68({
|
|
4632
4642
|
method: "POST",
|
|
4633
4643
|
fullPath: "/v1/customers/{customer}/cash_balance"
|
|
4634
4644
|
}),
|
|
4635
|
-
updateSource:
|
|
4645
|
+
updateSource: stripeMethod68({
|
|
4636
4646
|
method: "POST",
|
|
4637
4647
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4638
4648
|
}),
|
|
4639
|
-
verifySource:
|
|
4649
|
+
verifySource: stripeMethod68({
|
|
4640
4650
|
method: "POST",
|
|
4641
4651
|
fullPath: "/v1/customers/{customer}/sources/{id}/verify"
|
|
4642
4652
|
})
|
|
4643
4653
|
});
|
|
4644
4654
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Disputes.js
|
|
4645
|
-
var
|
|
4655
|
+
var stripeMethod69 = StripeResource.method;
|
|
4646
4656
|
var Disputes2 = StripeResource.extend({
|
|
4647
|
-
retrieve:
|
|
4648
|
-
update:
|
|
4649
|
-
list:
|
|
4657
|
+
retrieve: stripeMethod69({ method: "GET", fullPath: "/v1/disputes/{dispute}" }),
|
|
4658
|
+
update: stripeMethod69({ method: "POST", fullPath: "/v1/disputes/{dispute}" }),
|
|
4659
|
+
list: stripeMethod69({
|
|
4650
4660
|
method: "GET",
|
|
4651
4661
|
fullPath: "/v1/disputes",
|
|
4652
4662
|
methodType: "list"
|
|
4653
4663
|
}),
|
|
4654
|
-
close:
|
|
4664
|
+
close: stripeMethod69({
|
|
4655
4665
|
method: "POST",
|
|
4656
4666
|
fullPath: "/v1/disputes/{dispute}/close"
|
|
4657
4667
|
})
|
|
4658
4668
|
});
|
|
4659
4669
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/EphemeralKeys.js
|
|
4660
|
-
var
|
|
4670
|
+
var stripeMethod70 = StripeResource.method;
|
|
4661
4671
|
var EphemeralKeys = StripeResource.extend({
|
|
4662
|
-
create:
|
|
4672
|
+
create: stripeMethod70({
|
|
4663
4673
|
method: "POST",
|
|
4664
4674
|
fullPath: "/v1/ephemeral_keys",
|
|
4665
4675
|
validator: (data, options) => {
|
|
@@ -4668,38 +4678,38 @@ var EphemeralKeys = StripeResource.extend({
|
|
|
4668
4678
|
}
|
|
4669
4679
|
}
|
|
4670
4680
|
}),
|
|
4671
|
-
del:
|
|
4681
|
+
del: stripeMethod70({ method: "DELETE", fullPath: "/v1/ephemeral_keys/{key}" })
|
|
4672
4682
|
});
|
|
4673
4683
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Events.js
|
|
4674
|
-
var
|
|
4684
|
+
var stripeMethod71 = StripeResource.method;
|
|
4675
4685
|
var Events = StripeResource.extend({
|
|
4676
|
-
retrieve:
|
|
4677
|
-
list:
|
|
4686
|
+
retrieve: stripeMethod71({ method: "GET", fullPath: "/v1/events/{id}" }),
|
|
4687
|
+
list: stripeMethod71({
|
|
4678
4688
|
method: "GET",
|
|
4679
4689
|
fullPath: "/v1/events",
|
|
4680
4690
|
methodType: "list"
|
|
4681
4691
|
})
|
|
4682
4692
|
});
|
|
4683
4693
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/ExchangeRates.js
|
|
4684
|
-
var
|
|
4694
|
+
var stripeMethod72 = StripeResource.method;
|
|
4685
4695
|
var ExchangeRates = StripeResource.extend({
|
|
4686
|
-
retrieve:
|
|
4696
|
+
retrieve: stripeMethod72({
|
|
4687
4697
|
method: "GET",
|
|
4688
4698
|
fullPath: "/v1/exchange_rates/{rate_id}"
|
|
4689
4699
|
}),
|
|
4690
|
-
list:
|
|
4700
|
+
list: stripeMethod72({
|
|
4691
4701
|
method: "GET",
|
|
4692
4702
|
fullPath: "/v1/exchange_rates",
|
|
4693
4703
|
methodType: "list"
|
|
4694
4704
|
})
|
|
4695
4705
|
});
|
|
4696
4706
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/FileLinks.js
|
|
4697
|
-
var
|
|
4707
|
+
var stripeMethod73 = StripeResource.method;
|
|
4698
4708
|
var FileLinks = StripeResource.extend({
|
|
4699
|
-
create:
|
|
4700
|
-
retrieve:
|
|
4701
|
-
update:
|
|
4702
|
-
list:
|
|
4709
|
+
create: stripeMethod73({ method: "POST", fullPath: "/v1/file_links" }),
|
|
4710
|
+
retrieve: stripeMethod73({ method: "GET", fullPath: "/v1/file_links/{link}" }),
|
|
4711
|
+
update: stripeMethod73({ method: "POST", fullPath: "/v1/file_links/{link}" }),
|
|
4712
|
+
list: stripeMethod73({
|
|
4703
4713
|
method: "GET",
|
|
4704
4714
|
fullPath: "/v1/file_links",
|
|
4705
4715
|
methodType: "list"
|
|
@@ -4754,9 +4764,9 @@ var multipartDataGenerator = (method, data, headers) => {
|
|
|
4754
4764
|
};
|
|
4755
4765
|
|
|
4756
4766
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Files.js
|
|
4757
|
-
var
|
|
4767
|
+
var stripeMethod74 = StripeResource.method;
|
|
4758
4768
|
var Files = StripeResource.extend({
|
|
4759
|
-
create:
|
|
4769
|
+
create: stripeMethod74({
|
|
4760
4770
|
method: "POST",
|
|
4761
4771
|
fullPath: "/v1/files",
|
|
4762
4772
|
headers: {
|
|
@@ -4764,8 +4774,8 @@ var Files = StripeResource.extend({
|
|
|
4764
4774
|
},
|
|
4765
4775
|
host: "files.stripe.com"
|
|
4766
4776
|
}),
|
|
4767
|
-
retrieve:
|
|
4768
|
-
list:
|
|
4777
|
+
retrieve: stripeMethod74({ method: "GET", fullPath: "/v1/files/{file}" }),
|
|
4778
|
+
list: stripeMethod74({
|
|
4769
4779
|
method: "GET",
|
|
4770
4780
|
fullPath: "/v1/files",
|
|
4771
4781
|
methodType: "list"
|
|
@@ -4773,83 +4783,83 @@ var Files = StripeResource.extend({
|
|
|
4773
4783
|
requestDataProcessor: multipartRequestDataProcessor
|
|
4774
4784
|
});
|
|
4775
4785
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/InvoiceItems.js
|
|
4776
|
-
var
|
|
4786
|
+
var stripeMethod75 = StripeResource.method;
|
|
4777
4787
|
var InvoiceItems = StripeResource.extend({
|
|
4778
|
-
create:
|
|
4779
|
-
retrieve:
|
|
4788
|
+
create: stripeMethod75({ method: "POST", fullPath: "/v1/invoiceitems" }),
|
|
4789
|
+
retrieve: stripeMethod75({
|
|
4780
4790
|
method: "GET",
|
|
4781
4791
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4782
4792
|
}),
|
|
4783
|
-
update:
|
|
4793
|
+
update: stripeMethod75({
|
|
4784
4794
|
method: "POST",
|
|
4785
4795
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4786
4796
|
}),
|
|
4787
|
-
list:
|
|
4797
|
+
list: stripeMethod75({
|
|
4788
4798
|
method: "GET",
|
|
4789
4799
|
fullPath: "/v1/invoiceitems",
|
|
4790
4800
|
methodType: "list"
|
|
4791
4801
|
}),
|
|
4792
|
-
del:
|
|
4802
|
+
del: stripeMethod75({
|
|
4793
4803
|
method: "DELETE",
|
|
4794
4804
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4795
4805
|
})
|
|
4796
4806
|
});
|
|
4797
4807
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Invoices.js
|
|
4798
|
-
var
|
|
4808
|
+
var stripeMethod76 = StripeResource.method;
|
|
4799
4809
|
var Invoices = StripeResource.extend({
|
|
4800
|
-
create:
|
|
4801
|
-
retrieve:
|
|
4802
|
-
update:
|
|
4803
|
-
list:
|
|
4810
|
+
create: stripeMethod76({ method: "POST", fullPath: "/v1/invoices" }),
|
|
4811
|
+
retrieve: stripeMethod76({ method: "GET", fullPath: "/v1/invoices/{invoice}" }),
|
|
4812
|
+
update: stripeMethod76({ method: "POST", fullPath: "/v1/invoices/{invoice}" }),
|
|
4813
|
+
list: stripeMethod76({
|
|
4804
4814
|
method: "GET",
|
|
4805
4815
|
fullPath: "/v1/invoices",
|
|
4806
4816
|
methodType: "list"
|
|
4807
4817
|
}),
|
|
4808
|
-
del:
|
|
4809
|
-
finalizeInvoice:
|
|
4818
|
+
del: stripeMethod76({ method: "DELETE", fullPath: "/v1/invoices/{invoice}" }),
|
|
4819
|
+
finalizeInvoice: stripeMethod76({
|
|
4810
4820
|
method: "POST",
|
|
4811
4821
|
fullPath: "/v1/invoices/{invoice}/finalize"
|
|
4812
4822
|
}),
|
|
4813
|
-
listLineItems:
|
|
4823
|
+
listLineItems: stripeMethod76({
|
|
4814
4824
|
method: "GET",
|
|
4815
4825
|
fullPath: "/v1/invoices/{invoice}/lines",
|
|
4816
4826
|
methodType: "list"
|
|
4817
4827
|
}),
|
|
4818
|
-
listUpcomingLines:
|
|
4828
|
+
listUpcomingLines: stripeMethod76({
|
|
4819
4829
|
method: "GET",
|
|
4820
4830
|
fullPath: "/v1/invoices/upcoming/lines",
|
|
4821
4831
|
methodType: "list"
|
|
4822
4832
|
}),
|
|
4823
|
-
markUncollectible:
|
|
4833
|
+
markUncollectible: stripeMethod76({
|
|
4824
4834
|
method: "POST",
|
|
4825
4835
|
fullPath: "/v1/invoices/{invoice}/mark_uncollectible"
|
|
4826
4836
|
}),
|
|
4827
|
-
pay:
|
|
4828
|
-
retrieveUpcoming:
|
|
4837
|
+
pay: stripeMethod76({ method: "POST", fullPath: "/v1/invoices/{invoice}/pay" }),
|
|
4838
|
+
retrieveUpcoming: stripeMethod76({
|
|
4829
4839
|
method: "GET",
|
|
4830
4840
|
fullPath: "/v1/invoices/upcoming"
|
|
4831
4841
|
}),
|
|
4832
|
-
search:
|
|
4842
|
+
search: stripeMethod76({
|
|
4833
4843
|
method: "GET",
|
|
4834
4844
|
fullPath: "/v1/invoices/search",
|
|
4835
4845
|
methodType: "search"
|
|
4836
4846
|
}),
|
|
4837
|
-
sendInvoice:
|
|
4847
|
+
sendInvoice: stripeMethod76({
|
|
4838
4848
|
method: "POST",
|
|
4839
4849
|
fullPath: "/v1/invoices/{invoice}/send"
|
|
4840
4850
|
}),
|
|
4841
|
-
voidInvoice:
|
|
4851
|
+
voidInvoice: stripeMethod76({
|
|
4842
4852
|
method: "POST",
|
|
4843
4853
|
fullPath: "/v1/invoices/{invoice}/void"
|
|
4844
4854
|
})
|
|
4845
4855
|
});
|
|
4846
4856
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Mandates.js
|
|
4847
|
-
var
|
|
4857
|
+
var stripeMethod77 = StripeResource.method;
|
|
4848
4858
|
var Mandates = StripeResource.extend({
|
|
4849
|
-
retrieve:
|
|
4859
|
+
retrieve: stripeMethod77({ method: "GET", fullPath: "/v1/mandates/{mandate}" })
|
|
4850
4860
|
});
|
|
4851
4861
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/OAuth.js
|
|
4852
|
-
var
|
|
4862
|
+
var stripeMethod78 = StripeResource.method;
|
|
4853
4863
|
var oAuthHost = "connect.stripe.com";
|
|
4854
4864
|
var OAuth = StripeResource.extend({
|
|
4855
4865
|
basePath: "/",
|
|
@@ -4871,7 +4881,7 @@ var OAuth = StripeResource.extend({
|
|
|
4871
4881
|
}
|
|
4872
4882
|
return `https://${oAuthHost}/${path}?${stringifyRequestData(params)}`;
|
|
4873
4883
|
},
|
|
4874
|
-
token:
|
|
4884
|
+
token: stripeMethod78({
|
|
4875
4885
|
method: "POST",
|
|
4876
4886
|
path: "oauth/token",
|
|
4877
4887
|
host: oAuthHost
|
|
@@ -4880,7 +4890,7 @@ var OAuth = StripeResource.extend({
|
|
|
4880
4890
|
if (!spec.client_id) {
|
|
4881
4891
|
spec.client_id = this._stripe.getClientId();
|
|
4882
4892
|
}
|
|
4883
|
-
return
|
|
4893
|
+
return stripeMethod78({
|
|
4884
4894
|
method: "POST",
|
|
4885
4895
|
path: "oauth/deauthorize",
|
|
4886
4896
|
host: oAuthHost
|
|
@@ -4888,261 +4898,261 @@ var OAuth = StripeResource.extend({
|
|
|
4888
4898
|
}
|
|
4889
4899
|
});
|
|
4890
4900
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PaymentIntents.js
|
|
4891
|
-
var
|
|
4901
|
+
var stripeMethod79 = StripeResource.method;
|
|
4892
4902
|
var PaymentIntents = StripeResource.extend({
|
|
4893
|
-
create:
|
|
4894
|
-
retrieve:
|
|
4903
|
+
create: stripeMethod79({ method: "POST", fullPath: "/v1/payment_intents" }),
|
|
4904
|
+
retrieve: stripeMethod79({
|
|
4895
4905
|
method: "GET",
|
|
4896
4906
|
fullPath: "/v1/payment_intents/{intent}"
|
|
4897
4907
|
}),
|
|
4898
|
-
update:
|
|
4908
|
+
update: stripeMethod79({
|
|
4899
4909
|
method: "POST",
|
|
4900
4910
|
fullPath: "/v1/payment_intents/{intent}"
|
|
4901
4911
|
}),
|
|
4902
|
-
list:
|
|
4912
|
+
list: stripeMethod79({
|
|
4903
4913
|
method: "GET",
|
|
4904
4914
|
fullPath: "/v1/payment_intents",
|
|
4905
4915
|
methodType: "list"
|
|
4906
4916
|
}),
|
|
4907
|
-
applyCustomerBalance:
|
|
4917
|
+
applyCustomerBalance: stripeMethod79({
|
|
4908
4918
|
method: "POST",
|
|
4909
4919
|
fullPath: "/v1/payment_intents/{intent}/apply_customer_balance"
|
|
4910
4920
|
}),
|
|
4911
|
-
cancel:
|
|
4921
|
+
cancel: stripeMethod79({
|
|
4912
4922
|
method: "POST",
|
|
4913
4923
|
fullPath: "/v1/payment_intents/{intent}/cancel"
|
|
4914
4924
|
}),
|
|
4915
|
-
capture:
|
|
4925
|
+
capture: stripeMethod79({
|
|
4916
4926
|
method: "POST",
|
|
4917
4927
|
fullPath: "/v1/payment_intents/{intent}/capture"
|
|
4918
4928
|
}),
|
|
4919
|
-
confirm:
|
|
4929
|
+
confirm: stripeMethod79({
|
|
4920
4930
|
method: "POST",
|
|
4921
4931
|
fullPath: "/v1/payment_intents/{intent}/confirm"
|
|
4922
4932
|
}),
|
|
4923
|
-
incrementAuthorization:
|
|
4933
|
+
incrementAuthorization: stripeMethod79({
|
|
4924
4934
|
method: "POST",
|
|
4925
4935
|
fullPath: "/v1/payment_intents/{intent}/increment_authorization"
|
|
4926
4936
|
}),
|
|
4927
|
-
search:
|
|
4937
|
+
search: stripeMethod79({
|
|
4928
4938
|
method: "GET",
|
|
4929
4939
|
fullPath: "/v1/payment_intents/search",
|
|
4930
4940
|
methodType: "search"
|
|
4931
4941
|
}),
|
|
4932
|
-
verifyMicrodeposits:
|
|
4942
|
+
verifyMicrodeposits: stripeMethod79({
|
|
4933
4943
|
method: "POST",
|
|
4934
4944
|
fullPath: "/v1/payment_intents/{intent}/verify_microdeposits"
|
|
4935
4945
|
})
|
|
4936
4946
|
});
|
|
4937
4947
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PaymentLinks.js
|
|
4938
|
-
var
|
|
4948
|
+
var stripeMethod80 = StripeResource.method;
|
|
4939
4949
|
var PaymentLinks = StripeResource.extend({
|
|
4940
|
-
create:
|
|
4941
|
-
retrieve:
|
|
4950
|
+
create: stripeMethod80({ method: "POST", fullPath: "/v1/payment_links" }),
|
|
4951
|
+
retrieve: stripeMethod80({
|
|
4942
4952
|
method: "GET",
|
|
4943
4953
|
fullPath: "/v1/payment_links/{payment_link}"
|
|
4944
4954
|
}),
|
|
4945
|
-
update:
|
|
4955
|
+
update: stripeMethod80({
|
|
4946
4956
|
method: "POST",
|
|
4947
4957
|
fullPath: "/v1/payment_links/{payment_link}"
|
|
4948
4958
|
}),
|
|
4949
|
-
list:
|
|
4959
|
+
list: stripeMethod80({
|
|
4950
4960
|
method: "GET",
|
|
4951
4961
|
fullPath: "/v1/payment_links",
|
|
4952
4962
|
methodType: "list"
|
|
4953
4963
|
}),
|
|
4954
|
-
listLineItems:
|
|
4964
|
+
listLineItems: stripeMethod80({
|
|
4955
4965
|
method: "GET",
|
|
4956
4966
|
fullPath: "/v1/payment_links/{payment_link}/line_items",
|
|
4957
4967
|
methodType: "list"
|
|
4958
4968
|
})
|
|
4959
4969
|
});
|
|
4960
4970
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PaymentMethodConfigurations.js
|
|
4961
|
-
var
|
|
4971
|
+
var stripeMethod81 = StripeResource.method;
|
|
4962
4972
|
var PaymentMethodConfigurations = StripeResource.extend({
|
|
4963
|
-
create:
|
|
4973
|
+
create: stripeMethod81({
|
|
4964
4974
|
method: "POST",
|
|
4965
4975
|
fullPath: "/v1/payment_method_configurations"
|
|
4966
4976
|
}),
|
|
4967
|
-
retrieve:
|
|
4977
|
+
retrieve: stripeMethod81({
|
|
4968
4978
|
method: "GET",
|
|
4969
4979
|
fullPath: "/v1/payment_method_configurations/{configuration}"
|
|
4970
4980
|
}),
|
|
4971
|
-
update:
|
|
4981
|
+
update: stripeMethod81({
|
|
4972
4982
|
method: "POST",
|
|
4973
4983
|
fullPath: "/v1/payment_method_configurations/{configuration}"
|
|
4974
4984
|
}),
|
|
4975
|
-
list:
|
|
4985
|
+
list: stripeMethod81({
|
|
4976
4986
|
method: "GET",
|
|
4977
4987
|
fullPath: "/v1/payment_method_configurations",
|
|
4978
4988
|
methodType: "list"
|
|
4979
4989
|
})
|
|
4980
4990
|
});
|
|
4981
4991
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PaymentMethodDomains.js
|
|
4982
|
-
var
|
|
4992
|
+
var stripeMethod82 = StripeResource.method;
|
|
4983
4993
|
var PaymentMethodDomains = StripeResource.extend({
|
|
4984
|
-
create:
|
|
4994
|
+
create: stripeMethod82({
|
|
4985
4995
|
method: "POST",
|
|
4986
4996
|
fullPath: "/v1/payment_method_domains"
|
|
4987
4997
|
}),
|
|
4988
|
-
retrieve:
|
|
4998
|
+
retrieve: stripeMethod82({
|
|
4989
4999
|
method: "GET",
|
|
4990
5000
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}"
|
|
4991
5001
|
}),
|
|
4992
|
-
update:
|
|
5002
|
+
update: stripeMethod82({
|
|
4993
5003
|
method: "POST",
|
|
4994
5004
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}"
|
|
4995
5005
|
}),
|
|
4996
|
-
list:
|
|
5006
|
+
list: stripeMethod82({
|
|
4997
5007
|
method: "GET",
|
|
4998
5008
|
fullPath: "/v1/payment_method_domains",
|
|
4999
5009
|
methodType: "list"
|
|
5000
5010
|
}),
|
|
5001
|
-
validate:
|
|
5011
|
+
validate: stripeMethod82({
|
|
5002
5012
|
method: "POST",
|
|
5003
5013
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}/validate"
|
|
5004
5014
|
})
|
|
5005
5015
|
});
|
|
5006
5016
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PaymentMethods.js
|
|
5007
|
-
var
|
|
5017
|
+
var stripeMethod83 = StripeResource.method;
|
|
5008
5018
|
var PaymentMethods = StripeResource.extend({
|
|
5009
|
-
create:
|
|
5010
|
-
retrieve:
|
|
5019
|
+
create: stripeMethod83({ method: "POST", fullPath: "/v1/payment_methods" }),
|
|
5020
|
+
retrieve: stripeMethod83({
|
|
5011
5021
|
method: "GET",
|
|
5012
5022
|
fullPath: "/v1/payment_methods/{payment_method}"
|
|
5013
5023
|
}),
|
|
5014
|
-
update:
|
|
5024
|
+
update: stripeMethod83({
|
|
5015
5025
|
method: "POST",
|
|
5016
5026
|
fullPath: "/v1/payment_methods/{payment_method}"
|
|
5017
5027
|
}),
|
|
5018
|
-
list:
|
|
5028
|
+
list: stripeMethod83({
|
|
5019
5029
|
method: "GET",
|
|
5020
5030
|
fullPath: "/v1/payment_methods",
|
|
5021
5031
|
methodType: "list"
|
|
5022
5032
|
}),
|
|
5023
|
-
attach:
|
|
5033
|
+
attach: stripeMethod83({
|
|
5024
5034
|
method: "POST",
|
|
5025
5035
|
fullPath: "/v1/payment_methods/{payment_method}/attach"
|
|
5026
5036
|
}),
|
|
5027
|
-
detach:
|
|
5037
|
+
detach: stripeMethod83({
|
|
5028
5038
|
method: "POST",
|
|
5029
5039
|
fullPath: "/v1/payment_methods/{payment_method}/detach"
|
|
5030
5040
|
})
|
|
5031
5041
|
});
|
|
5032
5042
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Payouts.js
|
|
5033
|
-
var
|
|
5043
|
+
var stripeMethod84 = StripeResource.method;
|
|
5034
5044
|
var Payouts = StripeResource.extend({
|
|
5035
|
-
create:
|
|
5036
|
-
retrieve:
|
|
5037
|
-
update:
|
|
5038
|
-
list:
|
|
5045
|
+
create: stripeMethod84({ method: "POST", fullPath: "/v1/payouts" }),
|
|
5046
|
+
retrieve: stripeMethod84({ method: "GET", fullPath: "/v1/payouts/{payout}" }),
|
|
5047
|
+
update: stripeMethod84({ method: "POST", fullPath: "/v1/payouts/{payout}" }),
|
|
5048
|
+
list: stripeMethod84({
|
|
5039
5049
|
method: "GET",
|
|
5040
5050
|
fullPath: "/v1/payouts",
|
|
5041
5051
|
methodType: "list"
|
|
5042
5052
|
}),
|
|
5043
|
-
cancel:
|
|
5053
|
+
cancel: stripeMethod84({
|
|
5044
5054
|
method: "POST",
|
|
5045
5055
|
fullPath: "/v1/payouts/{payout}/cancel"
|
|
5046
5056
|
}),
|
|
5047
|
-
reverse:
|
|
5057
|
+
reverse: stripeMethod84({
|
|
5048
5058
|
method: "POST",
|
|
5049
5059
|
fullPath: "/v1/payouts/{payout}/reverse"
|
|
5050
5060
|
})
|
|
5051
5061
|
});
|
|
5052
5062
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Plans.js
|
|
5053
|
-
var
|
|
5063
|
+
var stripeMethod85 = StripeResource.method;
|
|
5054
5064
|
var Plans = StripeResource.extend({
|
|
5055
|
-
create:
|
|
5056
|
-
retrieve:
|
|
5057
|
-
update:
|
|
5058
|
-
list:
|
|
5065
|
+
create: stripeMethod85({ method: "POST", fullPath: "/v1/plans" }),
|
|
5066
|
+
retrieve: stripeMethod85({ method: "GET", fullPath: "/v1/plans/{plan}" }),
|
|
5067
|
+
update: stripeMethod85({ method: "POST", fullPath: "/v1/plans/{plan}" }),
|
|
5068
|
+
list: stripeMethod85({
|
|
5059
5069
|
method: "GET",
|
|
5060
5070
|
fullPath: "/v1/plans",
|
|
5061
5071
|
methodType: "list"
|
|
5062
5072
|
}),
|
|
5063
|
-
del:
|
|
5073
|
+
del: stripeMethod85({ method: "DELETE", fullPath: "/v1/plans/{plan}" })
|
|
5064
5074
|
});
|
|
5065
5075
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Prices.js
|
|
5066
|
-
var
|
|
5076
|
+
var stripeMethod86 = StripeResource.method;
|
|
5067
5077
|
var Prices = StripeResource.extend({
|
|
5068
|
-
create:
|
|
5069
|
-
retrieve:
|
|
5070
|
-
update:
|
|
5071
|
-
list:
|
|
5078
|
+
create: stripeMethod86({ method: "POST", fullPath: "/v1/prices" }),
|
|
5079
|
+
retrieve: stripeMethod86({ method: "GET", fullPath: "/v1/prices/{price}" }),
|
|
5080
|
+
update: stripeMethod86({ method: "POST", fullPath: "/v1/prices/{price}" }),
|
|
5081
|
+
list: stripeMethod86({
|
|
5072
5082
|
method: "GET",
|
|
5073
5083
|
fullPath: "/v1/prices",
|
|
5074
5084
|
methodType: "list"
|
|
5075
5085
|
}),
|
|
5076
|
-
search:
|
|
5086
|
+
search: stripeMethod86({
|
|
5077
5087
|
method: "GET",
|
|
5078
5088
|
fullPath: "/v1/prices/search",
|
|
5079
5089
|
methodType: "search"
|
|
5080
5090
|
})
|
|
5081
5091
|
});
|
|
5082
5092
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Products.js
|
|
5083
|
-
var
|
|
5093
|
+
var stripeMethod87 = StripeResource.method;
|
|
5084
5094
|
var Products2 = StripeResource.extend({
|
|
5085
|
-
create:
|
|
5086
|
-
retrieve:
|
|
5087
|
-
update:
|
|
5088
|
-
list:
|
|
5095
|
+
create: stripeMethod87({ method: "POST", fullPath: "/v1/products" }),
|
|
5096
|
+
retrieve: stripeMethod87({ method: "GET", fullPath: "/v1/products/{id}" }),
|
|
5097
|
+
update: stripeMethod87({ method: "POST", fullPath: "/v1/products/{id}" }),
|
|
5098
|
+
list: stripeMethod87({
|
|
5089
5099
|
method: "GET",
|
|
5090
5100
|
fullPath: "/v1/products",
|
|
5091
5101
|
methodType: "list"
|
|
5092
5102
|
}),
|
|
5093
|
-
del:
|
|
5094
|
-
search:
|
|
5103
|
+
del: stripeMethod87({ method: "DELETE", fullPath: "/v1/products/{id}" }),
|
|
5104
|
+
search: stripeMethod87({
|
|
5095
5105
|
method: "GET",
|
|
5096
5106
|
fullPath: "/v1/products/search",
|
|
5097
5107
|
methodType: "search"
|
|
5098
5108
|
})
|
|
5099
5109
|
});
|
|
5100
5110
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/PromotionCodes.js
|
|
5101
|
-
var
|
|
5111
|
+
var stripeMethod88 = StripeResource.method;
|
|
5102
5112
|
var PromotionCodes = StripeResource.extend({
|
|
5103
|
-
create:
|
|
5104
|
-
retrieve:
|
|
5113
|
+
create: stripeMethod88({ method: "POST", fullPath: "/v1/promotion_codes" }),
|
|
5114
|
+
retrieve: stripeMethod88({
|
|
5105
5115
|
method: "GET",
|
|
5106
5116
|
fullPath: "/v1/promotion_codes/{promotion_code}"
|
|
5107
5117
|
}),
|
|
5108
|
-
update:
|
|
5118
|
+
update: stripeMethod88({
|
|
5109
5119
|
method: "POST",
|
|
5110
5120
|
fullPath: "/v1/promotion_codes/{promotion_code}"
|
|
5111
5121
|
}),
|
|
5112
|
-
list:
|
|
5122
|
+
list: stripeMethod88({
|
|
5113
5123
|
method: "GET",
|
|
5114
5124
|
fullPath: "/v1/promotion_codes",
|
|
5115
5125
|
methodType: "list"
|
|
5116
5126
|
})
|
|
5117
5127
|
});
|
|
5118
5128
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Quotes.js
|
|
5119
|
-
var
|
|
5129
|
+
var stripeMethod89 = StripeResource.method;
|
|
5120
5130
|
var Quotes = StripeResource.extend({
|
|
5121
|
-
create:
|
|
5122
|
-
retrieve:
|
|
5123
|
-
update:
|
|
5124
|
-
list:
|
|
5131
|
+
create: stripeMethod89({ method: "POST", fullPath: "/v1/quotes" }),
|
|
5132
|
+
retrieve: stripeMethod89({ method: "GET", fullPath: "/v1/quotes/{quote}" }),
|
|
5133
|
+
update: stripeMethod89({ method: "POST", fullPath: "/v1/quotes/{quote}" }),
|
|
5134
|
+
list: stripeMethod89({
|
|
5125
5135
|
method: "GET",
|
|
5126
5136
|
fullPath: "/v1/quotes",
|
|
5127
5137
|
methodType: "list"
|
|
5128
5138
|
}),
|
|
5129
|
-
accept:
|
|
5130
|
-
cancel:
|
|
5131
|
-
finalizeQuote:
|
|
5139
|
+
accept: stripeMethod89({ method: "POST", fullPath: "/v1/quotes/{quote}/accept" }),
|
|
5140
|
+
cancel: stripeMethod89({ method: "POST", fullPath: "/v1/quotes/{quote}/cancel" }),
|
|
5141
|
+
finalizeQuote: stripeMethod89({
|
|
5132
5142
|
method: "POST",
|
|
5133
5143
|
fullPath: "/v1/quotes/{quote}/finalize"
|
|
5134
5144
|
}),
|
|
5135
|
-
listComputedUpfrontLineItems:
|
|
5145
|
+
listComputedUpfrontLineItems: stripeMethod89({
|
|
5136
5146
|
method: "GET",
|
|
5137
5147
|
fullPath: "/v1/quotes/{quote}/computed_upfront_line_items",
|
|
5138
5148
|
methodType: "list"
|
|
5139
5149
|
}),
|
|
5140
|
-
listLineItems:
|
|
5150
|
+
listLineItems: stripeMethod89({
|
|
5141
5151
|
method: "GET",
|
|
5142
5152
|
fullPath: "/v1/quotes/{quote}/line_items",
|
|
5143
5153
|
methodType: "list"
|
|
5144
5154
|
}),
|
|
5145
|
-
pdf:
|
|
5155
|
+
pdf: stripeMethod89({
|
|
5146
5156
|
method: "GET",
|
|
5147
5157
|
fullPath: "/v1/quotes/{quote}/pdf",
|
|
5148
5158
|
host: "files.stripe.com",
|
|
@@ -5150,291 +5160,291 @@ var Quotes = StripeResource.extend({
|
|
|
5150
5160
|
})
|
|
5151
5161
|
});
|
|
5152
5162
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Refunds.js
|
|
5153
|
-
var
|
|
5163
|
+
var stripeMethod90 = StripeResource.method;
|
|
5154
5164
|
var Refunds2 = StripeResource.extend({
|
|
5155
|
-
create:
|
|
5156
|
-
retrieve:
|
|
5157
|
-
update:
|
|
5158
|
-
list:
|
|
5165
|
+
create: stripeMethod90({ method: "POST", fullPath: "/v1/refunds" }),
|
|
5166
|
+
retrieve: stripeMethod90({ method: "GET", fullPath: "/v1/refunds/{refund}" }),
|
|
5167
|
+
update: stripeMethod90({ method: "POST", fullPath: "/v1/refunds/{refund}" }),
|
|
5168
|
+
list: stripeMethod90({
|
|
5159
5169
|
method: "GET",
|
|
5160
5170
|
fullPath: "/v1/refunds",
|
|
5161
5171
|
methodType: "list"
|
|
5162
5172
|
}),
|
|
5163
|
-
cancel:
|
|
5173
|
+
cancel: stripeMethod90({
|
|
5164
5174
|
method: "POST",
|
|
5165
5175
|
fullPath: "/v1/refunds/{refund}/cancel"
|
|
5166
5176
|
})
|
|
5167
5177
|
});
|
|
5168
5178
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Reviews.js
|
|
5169
|
-
var
|
|
5179
|
+
var stripeMethod91 = StripeResource.method;
|
|
5170
5180
|
var Reviews = StripeResource.extend({
|
|
5171
|
-
retrieve:
|
|
5172
|
-
list:
|
|
5181
|
+
retrieve: stripeMethod91({ method: "GET", fullPath: "/v1/reviews/{review}" }),
|
|
5182
|
+
list: stripeMethod91({
|
|
5173
5183
|
method: "GET",
|
|
5174
5184
|
fullPath: "/v1/reviews",
|
|
5175
5185
|
methodType: "list"
|
|
5176
5186
|
}),
|
|
5177
|
-
approve:
|
|
5187
|
+
approve: stripeMethod91({
|
|
5178
5188
|
method: "POST",
|
|
5179
5189
|
fullPath: "/v1/reviews/{review}/approve"
|
|
5180
5190
|
})
|
|
5181
5191
|
});
|
|
5182
5192
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/SetupAttempts.js
|
|
5183
|
-
var
|
|
5193
|
+
var stripeMethod92 = StripeResource.method;
|
|
5184
5194
|
var SetupAttempts = StripeResource.extend({
|
|
5185
|
-
list:
|
|
5195
|
+
list: stripeMethod92({
|
|
5186
5196
|
method: "GET",
|
|
5187
5197
|
fullPath: "/v1/setup_attempts",
|
|
5188
5198
|
methodType: "list"
|
|
5189
5199
|
})
|
|
5190
5200
|
});
|
|
5191
5201
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/SetupIntents.js
|
|
5192
|
-
var
|
|
5202
|
+
var stripeMethod93 = StripeResource.method;
|
|
5193
5203
|
var SetupIntents = StripeResource.extend({
|
|
5194
|
-
create:
|
|
5195
|
-
retrieve:
|
|
5204
|
+
create: stripeMethod93({ method: "POST", fullPath: "/v1/setup_intents" }),
|
|
5205
|
+
retrieve: stripeMethod93({
|
|
5196
5206
|
method: "GET",
|
|
5197
5207
|
fullPath: "/v1/setup_intents/{intent}"
|
|
5198
5208
|
}),
|
|
5199
|
-
update:
|
|
5209
|
+
update: stripeMethod93({
|
|
5200
5210
|
method: "POST",
|
|
5201
5211
|
fullPath: "/v1/setup_intents/{intent}"
|
|
5202
5212
|
}),
|
|
5203
|
-
list:
|
|
5213
|
+
list: stripeMethod93({
|
|
5204
5214
|
method: "GET",
|
|
5205
5215
|
fullPath: "/v1/setup_intents",
|
|
5206
5216
|
methodType: "list"
|
|
5207
5217
|
}),
|
|
5208
|
-
cancel:
|
|
5218
|
+
cancel: stripeMethod93({
|
|
5209
5219
|
method: "POST",
|
|
5210
5220
|
fullPath: "/v1/setup_intents/{intent}/cancel"
|
|
5211
5221
|
}),
|
|
5212
|
-
confirm:
|
|
5222
|
+
confirm: stripeMethod93({
|
|
5213
5223
|
method: "POST",
|
|
5214
5224
|
fullPath: "/v1/setup_intents/{intent}/confirm"
|
|
5215
5225
|
}),
|
|
5216
|
-
verifyMicrodeposits:
|
|
5226
|
+
verifyMicrodeposits: stripeMethod93({
|
|
5217
5227
|
method: "POST",
|
|
5218
5228
|
fullPath: "/v1/setup_intents/{intent}/verify_microdeposits"
|
|
5219
5229
|
})
|
|
5220
5230
|
});
|
|
5221
5231
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/ShippingRates.js
|
|
5222
|
-
var
|
|
5232
|
+
var stripeMethod94 = StripeResource.method;
|
|
5223
5233
|
var ShippingRates = StripeResource.extend({
|
|
5224
|
-
create:
|
|
5225
|
-
retrieve:
|
|
5234
|
+
create: stripeMethod94({ method: "POST", fullPath: "/v1/shipping_rates" }),
|
|
5235
|
+
retrieve: stripeMethod94({
|
|
5226
5236
|
method: "GET",
|
|
5227
5237
|
fullPath: "/v1/shipping_rates/{shipping_rate_token}"
|
|
5228
5238
|
}),
|
|
5229
|
-
update:
|
|
5239
|
+
update: stripeMethod94({
|
|
5230
5240
|
method: "POST",
|
|
5231
5241
|
fullPath: "/v1/shipping_rates/{shipping_rate_token}"
|
|
5232
5242
|
}),
|
|
5233
|
-
list:
|
|
5243
|
+
list: stripeMethod94({
|
|
5234
5244
|
method: "GET",
|
|
5235
5245
|
fullPath: "/v1/shipping_rates",
|
|
5236
5246
|
methodType: "list"
|
|
5237
5247
|
})
|
|
5238
5248
|
});
|
|
5239
5249
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Sources.js
|
|
5240
|
-
var
|
|
5250
|
+
var stripeMethod95 = StripeResource.method;
|
|
5241
5251
|
var Sources = StripeResource.extend({
|
|
5242
|
-
create:
|
|
5243
|
-
retrieve:
|
|
5244
|
-
update:
|
|
5245
|
-
listSourceTransactions:
|
|
5252
|
+
create: stripeMethod95({ method: "POST", fullPath: "/v1/sources" }),
|
|
5253
|
+
retrieve: stripeMethod95({ method: "GET", fullPath: "/v1/sources/{source}" }),
|
|
5254
|
+
update: stripeMethod95({ method: "POST", fullPath: "/v1/sources/{source}" }),
|
|
5255
|
+
listSourceTransactions: stripeMethod95({
|
|
5246
5256
|
method: "GET",
|
|
5247
5257
|
fullPath: "/v1/sources/{source}/source_transactions",
|
|
5248
5258
|
methodType: "list"
|
|
5249
5259
|
}),
|
|
5250
|
-
verify:
|
|
5260
|
+
verify: stripeMethod95({
|
|
5251
5261
|
method: "POST",
|
|
5252
5262
|
fullPath: "/v1/sources/{source}/verify"
|
|
5253
5263
|
})
|
|
5254
5264
|
});
|
|
5255
5265
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/SubscriptionItems.js
|
|
5256
|
-
var
|
|
5266
|
+
var stripeMethod96 = StripeResource.method;
|
|
5257
5267
|
var SubscriptionItems = StripeResource.extend({
|
|
5258
|
-
create:
|
|
5259
|
-
retrieve:
|
|
5268
|
+
create: stripeMethod96({ method: "POST", fullPath: "/v1/subscription_items" }),
|
|
5269
|
+
retrieve: stripeMethod96({
|
|
5260
5270
|
method: "GET",
|
|
5261
5271
|
fullPath: "/v1/subscription_items/{item}"
|
|
5262
5272
|
}),
|
|
5263
|
-
update:
|
|
5273
|
+
update: stripeMethod96({
|
|
5264
5274
|
method: "POST",
|
|
5265
5275
|
fullPath: "/v1/subscription_items/{item}"
|
|
5266
5276
|
}),
|
|
5267
|
-
list:
|
|
5277
|
+
list: stripeMethod96({
|
|
5268
5278
|
method: "GET",
|
|
5269
5279
|
fullPath: "/v1/subscription_items",
|
|
5270
5280
|
methodType: "list"
|
|
5271
5281
|
}),
|
|
5272
|
-
del:
|
|
5282
|
+
del: stripeMethod96({
|
|
5273
5283
|
method: "DELETE",
|
|
5274
5284
|
fullPath: "/v1/subscription_items/{item}"
|
|
5275
5285
|
}),
|
|
5276
|
-
createUsageRecord:
|
|
5286
|
+
createUsageRecord: stripeMethod96({
|
|
5277
5287
|
method: "POST",
|
|
5278
5288
|
fullPath: "/v1/subscription_items/{subscription_item}/usage_records"
|
|
5279
5289
|
}),
|
|
5280
|
-
listUsageRecordSummaries:
|
|
5290
|
+
listUsageRecordSummaries: stripeMethod96({
|
|
5281
5291
|
method: "GET",
|
|
5282
5292
|
fullPath: "/v1/subscription_items/{subscription_item}/usage_record_summaries",
|
|
5283
5293
|
methodType: "list"
|
|
5284
5294
|
})
|
|
5285
5295
|
});
|
|
5286
5296
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/SubscriptionSchedules.js
|
|
5287
|
-
var
|
|
5297
|
+
var stripeMethod97 = StripeResource.method;
|
|
5288
5298
|
var SubscriptionSchedules = StripeResource.extend({
|
|
5289
|
-
create:
|
|
5299
|
+
create: stripeMethod97({
|
|
5290
5300
|
method: "POST",
|
|
5291
5301
|
fullPath: "/v1/subscription_schedules"
|
|
5292
5302
|
}),
|
|
5293
|
-
retrieve:
|
|
5303
|
+
retrieve: stripeMethod97({
|
|
5294
5304
|
method: "GET",
|
|
5295
5305
|
fullPath: "/v1/subscription_schedules/{schedule}"
|
|
5296
5306
|
}),
|
|
5297
|
-
update:
|
|
5307
|
+
update: stripeMethod97({
|
|
5298
5308
|
method: "POST",
|
|
5299
5309
|
fullPath: "/v1/subscription_schedules/{schedule}"
|
|
5300
5310
|
}),
|
|
5301
|
-
list:
|
|
5311
|
+
list: stripeMethod97({
|
|
5302
5312
|
method: "GET",
|
|
5303
5313
|
fullPath: "/v1/subscription_schedules",
|
|
5304
5314
|
methodType: "list"
|
|
5305
5315
|
}),
|
|
5306
|
-
cancel:
|
|
5316
|
+
cancel: stripeMethod97({
|
|
5307
5317
|
method: "POST",
|
|
5308
5318
|
fullPath: "/v1/subscription_schedules/{schedule}/cancel"
|
|
5309
5319
|
}),
|
|
5310
|
-
release:
|
|
5320
|
+
release: stripeMethod97({
|
|
5311
5321
|
method: "POST",
|
|
5312
5322
|
fullPath: "/v1/subscription_schedules/{schedule}/release"
|
|
5313
5323
|
})
|
|
5314
5324
|
});
|
|
5315
5325
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Subscriptions.js
|
|
5316
|
-
var
|
|
5326
|
+
var stripeMethod98 = StripeResource.method;
|
|
5317
5327
|
var Subscriptions = StripeResource.extend({
|
|
5318
|
-
create:
|
|
5319
|
-
retrieve:
|
|
5328
|
+
create: stripeMethod98({ method: "POST", fullPath: "/v1/subscriptions" }),
|
|
5329
|
+
retrieve: stripeMethod98({
|
|
5320
5330
|
method: "GET",
|
|
5321
5331
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5322
5332
|
}),
|
|
5323
|
-
update:
|
|
5333
|
+
update: stripeMethod98({
|
|
5324
5334
|
method: "POST",
|
|
5325
5335
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5326
5336
|
}),
|
|
5327
|
-
list:
|
|
5337
|
+
list: stripeMethod98({
|
|
5328
5338
|
method: "GET",
|
|
5329
5339
|
fullPath: "/v1/subscriptions",
|
|
5330
5340
|
methodType: "list"
|
|
5331
5341
|
}),
|
|
5332
|
-
cancel:
|
|
5342
|
+
cancel: stripeMethod98({
|
|
5333
5343
|
method: "DELETE",
|
|
5334
5344
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5335
5345
|
}),
|
|
5336
|
-
deleteDiscount:
|
|
5346
|
+
deleteDiscount: stripeMethod98({
|
|
5337
5347
|
method: "DELETE",
|
|
5338
5348
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}/discount"
|
|
5339
5349
|
}),
|
|
5340
|
-
resume:
|
|
5350
|
+
resume: stripeMethod98({
|
|
5341
5351
|
method: "POST",
|
|
5342
5352
|
fullPath: "/v1/subscriptions/{subscription}/resume"
|
|
5343
5353
|
}),
|
|
5344
|
-
search:
|
|
5354
|
+
search: stripeMethod98({
|
|
5345
5355
|
method: "GET",
|
|
5346
5356
|
fullPath: "/v1/subscriptions/search",
|
|
5347
5357
|
methodType: "search"
|
|
5348
5358
|
})
|
|
5349
5359
|
});
|
|
5350
5360
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/TaxCodes.js
|
|
5351
|
-
var
|
|
5361
|
+
var stripeMethod99 = StripeResource.method;
|
|
5352
5362
|
var TaxCodes = StripeResource.extend({
|
|
5353
|
-
retrieve:
|
|
5354
|
-
list:
|
|
5363
|
+
retrieve: stripeMethod99({ method: "GET", fullPath: "/v1/tax_codes/{id}" }),
|
|
5364
|
+
list: stripeMethod99({
|
|
5355
5365
|
method: "GET",
|
|
5356
5366
|
fullPath: "/v1/tax_codes",
|
|
5357
5367
|
methodType: "list"
|
|
5358
5368
|
})
|
|
5359
5369
|
});
|
|
5360
5370
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/TaxRates.js
|
|
5361
|
-
var
|
|
5371
|
+
var stripeMethod100 = StripeResource.method;
|
|
5362
5372
|
var TaxRates = StripeResource.extend({
|
|
5363
|
-
create:
|
|
5364
|
-
retrieve:
|
|
5365
|
-
update:
|
|
5366
|
-
list:
|
|
5373
|
+
create: stripeMethod100({ method: "POST", fullPath: "/v1/tax_rates" }),
|
|
5374
|
+
retrieve: stripeMethod100({ method: "GET", fullPath: "/v1/tax_rates/{tax_rate}" }),
|
|
5375
|
+
update: stripeMethod100({ method: "POST", fullPath: "/v1/tax_rates/{tax_rate}" }),
|
|
5376
|
+
list: stripeMethod100({
|
|
5367
5377
|
method: "GET",
|
|
5368
5378
|
fullPath: "/v1/tax_rates",
|
|
5369
5379
|
methodType: "list"
|
|
5370
5380
|
})
|
|
5371
5381
|
});
|
|
5372
5382
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Tokens.js
|
|
5373
|
-
var
|
|
5383
|
+
var stripeMethod101 = StripeResource.method;
|
|
5374
5384
|
var Tokens2 = StripeResource.extend({
|
|
5375
|
-
create:
|
|
5376
|
-
retrieve:
|
|
5385
|
+
create: stripeMethod101({ method: "POST", fullPath: "/v1/tokens" }),
|
|
5386
|
+
retrieve: stripeMethod101({ method: "GET", fullPath: "/v1/tokens/{token}" })
|
|
5377
5387
|
});
|
|
5378
5388
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Topups.js
|
|
5379
|
-
var
|
|
5389
|
+
var stripeMethod102 = StripeResource.method;
|
|
5380
5390
|
var Topups = StripeResource.extend({
|
|
5381
|
-
create:
|
|
5382
|
-
retrieve:
|
|
5383
|
-
update:
|
|
5384
|
-
list:
|
|
5391
|
+
create: stripeMethod102({ method: "POST", fullPath: "/v1/topups" }),
|
|
5392
|
+
retrieve: stripeMethod102({ method: "GET", fullPath: "/v1/topups/{topup}" }),
|
|
5393
|
+
update: stripeMethod102({ method: "POST", fullPath: "/v1/topups/{topup}" }),
|
|
5394
|
+
list: stripeMethod102({
|
|
5385
5395
|
method: "GET",
|
|
5386
5396
|
fullPath: "/v1/topups",
|
|
5387
5397
|
methodType: "list"
|
|
5388
5398
|
}),
|
|
5389
|
-
cancel:
|
|
5399
|
+
cancel: stripeMethod102({ method: "POST", fullPath: "/v1/topups/{topup}/cancel" })
|
|
5390
5400
|
});
|
|
5391
5401
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/Transfers.js
|
|
5392
|
-
var
|
|
5402
|
+
var stripeMethod103 = StripeResource.method;
|
|
5393
5403
|
var Transfers = StripeResource.extend({
|
|
5394
|
-
create:
|
|
5395
|
-
retrieve:
|
|
5396
|
-
update:
|
|
5397
|
-
list:
|
|
5404
|
+
create: stripeMethod103({ method: "POST", fullPath: "/v1/transfers" }),
|
|
5405
|
+
retrieve: stripeMethod103({ method: "GET", fullPath: "/v1/transfers/{transfer}" }),
|
|
5406
|
+
update: stripeMethod103({ method: "POST", fullPath: "/v1/transfers/{transfer}" }),
|
|
5407
|
+
list: stripeMethod103({
|
|
5398
5408
|
method: "GET",
|
|
5399
5409
|
fullPath: "/v1/transfers",
|
|
5400
5410
|
methodType: "list"
|
|
5401
5411
|
}),
|
|
5402
|
-
createReversal:
|
|
5412
|
+
createReversal: stripeMethod103({
|
|
5403
5413
|
method: "POST",
|
|
5404
5414
|
fullPath: "/v1/transfers/{id}/reversals"
|
|
5405
5415
|
}),
|
|
5406
|
-
listReversals:
|
|
5416
|
+
listReversals: stripeMethod103({
|
|
5407
5417
|
method: "GET",
|
|
5408
5418
|
fullPath: "/v1/transfers/{id}/reversals",
|
|
5409
5419
|
methodType: "list"
|
|
5410
5420
|
}),
|
|
5411
|
-
retrieveReversal:
|
|
5421
|
+
retrieveReversal: stripeMethod103({
|
|
5412
5422
|
method: "GET",
|
|
5413
5423
|
fullPath: "/v1/transfers/{transfer}/reversals/{id}"
|
|
5414
5424
|
}),
|
|
5415
|
-
updateReversal:
|
|
5425
|
+
updateReversal: stripeMethod103({
|
|
5416
5426
|
method: "POST",
|
|
5417
5427
|
fullPath: "/v1/transfers/{transfer}/reversals/{id}"
|
|
5418
5428
|
})
|
|
5419
5429
|
});
|
|
5420
5430
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/resources/WebhookEndpoints.js
|
|
5421
|
-
var
|
|
5431
|
+
var stripeMethod104 = StripeResource.method;
|
|
5422
5432
|
var WebhookEndpoints = StripeResource.extend({
|
|
5423
|
-
create:
|
|
5424
|
-
retrieve:
|
|
5433
|
+
create: stripeMethod104({ method: "POST", fullPath: "/v1/webhook_endpoints" }),
|
|
5434
|
+
retrieve: stripeMethod104({
|
|
5425
5435
|
method: "GET",
|
|
5426
5436
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5427
5437
|
}),
|
|
5428
|
-
update:
|
|
5438
|
+
update: stripeMethod104({
|
|
5429
5439
|
method: "POST",
|
|
5430
5440
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5431
5441
|
}),
|
|
5432
|
-
list:
|
|
5442
|
+
list: stripeMethod104({
|
|
5433
5443
|
method: "GET",
|
|
5434
5444
|
fullPath: "/v1/webhook_endpoints",
|
|
5435
5445
|
methodType: "list"
|
|
5436
5446
|
}),
|
|
5437
|
-
del:
|
|
5447
|
+
del: stripeMethod104({
|
|
5438
5448
|
method: "DELETE",
|
|
5439
5449
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5440
5450
|
})
|
|
@@ -5931,7 +5941,7 @@ function createWebhooks(platformFunctions) {
|
|
|
5931
5941
|
|
|
5932
5942
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/stripe.core.js
|
|
5933
5943
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
5934
|
-
Stripe.PACKAGE_VERSION = "14.
|
|
5944
|
+
Stripe.PACKAGE_VERSION = "14.12.0";
|
|
5935
5945
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: "node", publisher: "stripe", uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
5936
5946
|
Stripe.StripeResource = StripeResource;
|
|
5937
5947
|
Stripe.resources = exports_resources;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/payments",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.27",
|
|
5
5
|
"description": "The Stacks payments package. Currently supporting Stripe.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
9
|
-
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/
|
|
9
|
+
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/payments#readme",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
13
|
-
"directory": "./storage/framework/core/
|
|
13
|
+
"directory": "./storage/framework/core/payments"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/stacksjs/stacks/issues"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@stacksjs/utils": "workspace:*",
|
|
53
53
|
"@stripe/stripe-js": "^2.3.0",
|
|
54
|
-
"stripe": "^14.
|
|
54
|
+
"stripe": "^14.12.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@stacksjs/config": "workspace:*",
|