@metronome/sdk 3.8.0 → 3.9.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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/shared.d.mts +160 -16
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +160 -16
- package/resources/shared.d.ts.map +1 -1
- package/resources/v1/contracts/contracts.d.mts +33 -9
- package/resources/v1/contracts/contracts.d.mts.map +1 -1
- package/resources/v1/contracts/contracts.d.ts +33 -9
- package/resources/v1/contracts/contracts.d.ts.map +1 -1
- package/resources/v1/contracts/contracts.js.map +1 -1
- package/resources/v1/contracts/contracts.mjs.map +1 -1
- package/resources/v2/contracts.d.mts +2 -2
- package/resources/v2/contracts.d.mts.map +1 -1
- package/resources/v2/contracts.d.ts +2 -2
- package/resources/v2/contracts.d.ts.map +1 -1
- package/src/resources/shared.ts +188 -17
- package/src/resources/v1/contracts/contracts.ts +34 -9
- package/src/resources/v2/contracts.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -824,9 +824,6 @@ export namespace ContractCreateResponse {
|
|
|
824
824
|
*/
|
|
825
825
|
custom_fields?: { [key: string]: string };
|
|
826
826
|
|
|
827
|
-
/**
|
|
828
|
-
* The billing provider configuration associated with the contract.
|
|
829
|
-
*/
|
|
830
827
|
customer_billing_provider_configuration?: Contract.CustomerBillingProviderConfiguration;
|
|
831
828
|
|
|
832
829
|
ending_before?: string;
|
|
@@ -918,13 +915,19 @@ export namespace ContractCreateResponse {
|
|
|
918
915
|
frequency: 'MONTHLY' | 'QUARTERLY' | 'ANNUAL' | 'WEEKLY';
|
|
919
916
|
}
|
|
920
917
|
|
|
921
|
-
/**
|
|
922
|
-
* The billing provider configuration associated with the contract.
|
|
923
|
-
*/
|
|
924
918
|
export interface CustomerBillingProviderConfiguration {
|
|
925
|
-
|
|
919
|
+
/**
|
|
920
|
+
* ID of this configuration; can be provided as the
|
|
921
|
+
* billing_provider_configuration_id when creating a contract.
|
|
922
|
+
*/
|
|
923
|
+
id: string;
|
|
924
|
+
|
|
925
|
+
archived_at: string | null;
|
|
926
926
|
|
|
927
|
-
|
|
927
|
+
/**
|
|
928
|
+
* The billing provider set for this configuration.
|
|
929
|
+
*/
|
|
930
|
+
billing_provider:
|
|
928
931
|
| 'aws_marketplace'
|
|
929
932
|
| 'stripe'
|
|
930
933
|
| 'netsuite'
|
|
@@ -935,7 +938,29 @@ export namespace ContractCreateResponse {
|
|
|
935
938
|
| 'gcp_marketplace'
|
|
936
939
|
| 'metronome';
|
|
937
940
|
|
|
938
|
-
|
|
941
|
+
/**
|
|
942
|
+
* Configuration for the billing provider. The structure of this object is specific
|
|
943
|
+
* to the billing provider.
|
|
944
|
+
*/
|
|
945
|
+
configuration: { [key: string]: unknown };
|
|
946
|
+
|
|
947
|
+
customer_id: string;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* The method to use for delivering invoices to this customer.
|
|
951
|
+
*/
|
|
952
|
+
delivery_method: 'direct_to_billing_provider' | 'aws_sqs' | 'tackle' | 'aws_sns';
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Configuration for the delivery method. The structure of this object is specific
|
|
956
|
+
* to the delivery method.
|
|
957
|
+
*/
|
|
958
|
+
delivery_method_configuration: { [key: string]: unknown };
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* ID of the delivery method to use for this customer.
|
|
962
|
+
*/
|
|
963
|
+
delivery_method_id: string;
|
|
939
964
|
}
|
|
940
965
|
|
|
941
966
|
/**
|
|
@@ -3963,7 +3963,7 @@ export namespace ContractEditParams {
|
|
|
3963
3963
|
/**
|
|
3964
3964
|
* When the billing provider update will take effect.
|
|
3965
3965
|
*/
|
|
3966
|
-
effective_at: 'START_OF_CURRENT_PERIOD';
|
|
3966
|
+
effective_at: 'START_OF_CURRENT_PERIOD' | 'START_OF_NEXT_PERIOD';
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
3969
|
|
|
@@ -5196,7 +5196,7 @@ export namespace ContractEditParams {
|
|
|
5196
5196
|
/**
|
|
5197
5197
|
* When the revenue system configuration update will take effect.
|
|
5198
5198
|
*/
|
|
5199
|
-
effective_at: 'START_OF_CURRENT_PERIOD';
|
|
5199
|
+
effective_at: 'START_OF_CURRENT_PERIOD' | 'START_OF_NEXT_PERIOD';
|
|
5200
5200
|
}
|
|
5201
5201
|
}
|
|
5202
5202
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.9.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|