@gr4vy/sdk 2.3.29 → 2.4.1
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/funcs/giftCardsActivationsCreate.d.ts +1 -1
- package/funcs/giftCardsActivationsCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/giftcardactivationcreate.d.ts +15 -0
- package/models/components/giftcardactivationcreate.d.ts.map +1 -1
- package/models/components/giftcardactivationcreate.js +5 -0
- package/models/components/giftcardactivationcreate.js.map +1 -1
- package/models/components/merchantaccount.d.ts +12 -0
- package/models/components/merchantaccount.d.ts.map +1 -1
- package/models/components/merchantaccount.js.map +1 -1
- package/models/components/merchantaccountcreate.d.ts +12 -0
- package/models/components/merchantaccountcreate.d.ts.map +1 -1
- package/models/components/merchantaccountcreate.js.map +1 -1
- package/models/components/merchantaccountupdate.d.ts +12 -0
- package/models/components/merchantaccountupdate.d.ts.map +1 -1
- package/models/components/merchantaccountupdate.js.map +1 -1
- package/models/components/transactionevent.d.ts +2 -0
- package/models/components/transactionevent.d.ts.map +1 -1
- package/models/components/transactionevent.js +2 -0
- package/models/components/transactionevent.js.map +1 -1
- package/package.json +1 -1
- package/sdk/activations.d.ts +1 -1
- package/sdk/activations.js +1 -1
- package/src/funcs/giftCardsActivationsCreate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/giftcardactivationcreate.ts +20 -0
- package/src/models/components/merchantaccount.ts +12 -0
- package/src/models/components/merchantaccountcreate.ts +12 -0
- package/src/models/components/merchantaccountupdate.ts +12 -0
- package/src/models/components/transactionevent.ts +2 -0
- package/src/sdk/activations.ts +1 -1
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Activate a gift card
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Activate a physical gift card through the primary gift card service.
|
|
15
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
16
16
|
*/
|
|
17
17
|
export declare function giftCardsActivationsCreate(client: Gr4vyCore, giftCardActivationCreate: components.GiftCardActivationCreate, idempotencyKey?: string | null | undefined, merchantAccountId?: string | null | undefined, options?: RequestOptions): APIPromise<Result<components.GiftCard, errors.Error400 | errors.Error401 | errors.Error403 | errors.Error404 | errors.Error405 | errors.Error409 | errors.HTTPValidationError | errors.Error425 | errors.Error429 | errors.Error500 | errors.Error502 | errors.Error504 | Gr4vyError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=giftCardsActivationsCreate.d.ts.map
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Activate a gift card
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Activate a physical gift card through the primary gift card service.
|
|
55
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
56
56
|
*/
|
|
57
57
|
function giftCardsActivationsCreate(client, giftCardActivationCreate, idempotencyKey, merchantAccountId, options) {
|
|
58
58
|
return new async_js_1.APIPromise($do(client, giftCardActivationCreate, idempotencyKey, merchantAccountId, options));
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
44
44
|
export declare const SDK_METADATA: {
|
|
45
45
|
readonly language: "typescript";
|
|
46
46
|
readonly openapiDocVersion: "1.0.0";
|
|
47
|
-
readonly sdkVersion: "2.
|
|
47
|
+
readonly sdkVersion: "2.4.1";
|
|
48
48
|
readonly genVersion: "2.924.0";
|
|
49
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.
|
|
49
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.4.1 2.924.0 1.0.0 @gr4vy/sdk";
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -37,8 +37,8 @@ function serverURLFromOptions(options) {
|
|
|
37
37
|
exports.SDK_METADATA = {
|
|
38
38
|
language: "typescript",
|
|
39
39
|
openapiDocVersion: "1.0.0",
|
|
40
|
-
sdkVersion: "2.
|
|
40
|
+
sdkVersion: "2.4.1",
|
|
41
41
|
genVersion: "2.924.0",
|
|
42
|
-
userAgent: "speakeasy-sdk/typescript 2.
|
|
42
|
+
userAgent: "speakeasy-sdk/typescript 2.4.1 2.924.0 1.0.0 @gr4vy/sdk",
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAkDH,oDAsBC;AAnED,qCAA8C;AAEjC,QAAA,aAAa,GAAG,SAAS,CAAC;AAC1B,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAC7C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,CAAC,qBAAa,CAAC,EAAE,oCAAoC;IACrD,CAAC,wBAAgB,CAAC,EAAE,4BAA4B;CACxC,CAAC;AAmCX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,YAAY,GAA2B;QAC3C,SAAS,EAAE;YACT,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,SAAS;SAC9B;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,SAAS;SAC9B;KACF,CAAC;IAEF,IAAI,MAAM,GAAW,EAAE,CAAC;IAExB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,qBAAa,CAAC;QAC/C,SAAS,GAAG,kBAAU,CAAC,MAAM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,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,yDAAyD;CAC5D,CAAC"}
|
|
@@ -23,6 +23,18 @@ export type GiftCardActivationCreate = {
|
|
|
23
23
|
* An optional external identifier for this activation.
|
|
24
24
|
*/
|
|
25
25
|
externalIdentifier?: string | null | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to store the activated gift card in the vault. When `true`, a `pin` is required.
|
|
28
|
+
*/
|
|
29
|
+
store?: boolean | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the buyer to associate this gift card to. Only allowed when `store` is `true`. If this field is provided then the `buyer_external_identifier` field needs to be unset.
|
|
32
|
+
*/
|
|
33
|
+
buyerId?: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* The `external_identifier` of the buyer to associate this gift card to. Only allowed when `store` is `true`. If this field is provided then the `buyer_id` field needs to be unset.
|
|
36
|
+
*/
|
|
37
|
+
buyerExternalIdentifier?: string | null | undefined;
|
|
26
38
|
};
|
|
27
39
|
/** @internal */
|
|
28
40
|
export type GiftCardActivationCreate$Outbound = {
|
|
@@ -31,6 +43,9 @@ export type GiftCardActivationCreate$Outbound = {
|
|
|
31
43
|
amount?: number | null | undefined;
|
|
32
44
|
currency?: string | null | undefined;
|
|
33
45
|
external_identifier?: string | null | undefined;
|
|
46
|
+
store: boolean;
|
|
47
|
+
buyer_id?: string | null | undefined;
|
|
48
|
+
buyer_external_identifier?: string | null | undefined;
|
|
34
49
|
};
|
|
35
50
|
/** @internal */
|
|
36
51
|
export declare const GiftCardActivationCreate$outboundSchema: z.ZodType<GiftCardActivationCreate$Outbound, z.ZodTypeDef, GiftCardActivationCreate>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftcardactivationcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/giftcardactivationcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"giftcardactivationcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/giftcardactivationcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAgBxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|
|
@@ -47,9 +47,14 @@ exports.GiftCardActivationCreate$outboundSchema = z.object({
|
|
|
47
47
|
amount: z.nullable(z.number().int()).optional(),
|
|
48
48
|
currency: z.nullable(z.string()).optional(),
|
|
49
49
|
externalIdentifier: z.nullable(z.string()).optional(),
|
|
50
|
+
store: z.boolean().default(false),
|
|
51
|
+
buyerId: z.nullable(z.string()).optional(),
|
|
52
|
+
buyerExternalIdentifier: z.nullable(z.string()).optional(),
|
|
50
53
|
}).transform((v) => {
|
|
51
54
|
return (0, primitives_js_1.remap)(v, {
|
|
52
55
|
externalIdentifier: "external_identifier",
|
|
56
|
+
buyerId: "buyer_id",
|
|
57
|
+
buyerExternalIdentifier: "buyer_external_identifier",
|
|
53
58
|
});
|
|
54
59
|
});
|
|
55
60
|
function giftCardActivationCreateToJSON(giftCardActivationCreate) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftcardactivationcreate.js","sourceRoot":"","sources":["../../src/models/components/giftcardactivationcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"giftcardactivationcreate.js","sourceRoot":"","sources":["../../src/models/components/giftcardactivationcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EH,wEAMC;AAjFD,0CAA4B;AAC5B,2DAA0D;AAoD1D,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,qBAAqB;QACzC,OAAO,EAAE,UAAU;QACnB,uBAAuB,EAAE,2BAA2B;KACrD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
@@ -17,10 +17,14 @@ export type MerchantAccount = {
|
|
|
17
17
|
displayName: string;
|
|
18
18
|
/**
|
|
19
19
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
22
|
*/
|
|
21
23
|
loonClientKey?: string | null | undefined;
|
|
22
24
|
/**
|
|
23
25
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
26
|
+
*
|
|
27
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
28
|
*/
|
|
25
29
|
loonSecretKey?: string | null | undefined;
|
|
26
30
|
/**
|
|
@@ -33,18 +37,26 @@ export type MerchantAccount = {
|
|
|
33
37
|
loonMerchantAccountId?: string | null | undefined;
|
|
34
38
|
/**
|
|
35
39
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
36
42
|
*/
|
|
37
43
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
38
44
|
/**
|
|
39
45
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
46
|
+
*
|
|
47
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
40
48
|
*/
|
|
41
49
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
42
50
|
/**
|
|
43
51
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
52
|
+
*
|
|
53
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
44
54
|
*/
|
|
45
55
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
46
56
|
/**
|
|
47
57
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
58
|
+
*
|
|
59
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
48
60
|
*/
|
|
49
61
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
50
62
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAE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chantaccount.js","sourceRoot":"","sources":["../../src/models/components/merchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"merchantaccount.js","sourceRoot":"","sources":["../../src/models/components/merchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LH,0DAQC;AAnMD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,mDAAuE;AAqHvE,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC/D,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC,CAAC;SACjE,QAAQ,EAAE;IACb,wBAAwB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,sCAAsC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzE,yCAAyC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5E,uCAAuC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,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,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -7,18 +7,26 @@ export type MerchantAccountCreate = {
|
|
|
7
7
|
accountUpdaterEnabled?: boolean | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
10
12
|
*/
|
|
11
13
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
12
14
|
/**
|
|
13
15
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
14
18
|
*/
|
|
15
19
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
16
20
|
/**
|
|
17
21
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
22
|
+
*
|
|
23
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
24
|
*/
|
|
19
25
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
20
26
|
/**
|
|
21
27
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
30
|
*/
|
|
23
31
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
24
32
|
/**
|
|
@@ -31,10 +39,14 @@ export type MerchantAccountCreate = {
|
|
|
31
39
|
overCapturePercentage?: number | null | undefined;
|
|
32
40
|
/**
|
|
33
41
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
44
|
*/
|
|
35
45
|
loonClientKey?: string | null | undefined;
|
|
36
46
|
/**
|
|
37
47
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
50
|
*/
|
|
39
51
|
loonSecretKey?: string | null | undefined;
|
|
40
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merchantaccountcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccountcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAA6B,MAAM,iBAAiB,CAAC;AAExE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C
|
|
1
|
+
{"version":3,"file":"merchantaccountcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccountcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UA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CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,sCAAsC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnE,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,oCAAoC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,4BAA4B,EAAE,OAAO,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAsDrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merchantaccountcreate.js","sourceRoot":"","sources":["../../src/models/components/merchantaccountcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"merchantaccountcreate.js","sourceRoot":"","sources":["../../src/models/components/merchantaccountcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmMH,kEAMC;AAvMD,0CAA4B;AAC5B,2DAA0D;AAC1D,mDAAwE;AAmIxE,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,qBAAqB,EAAE,CAAC,CAAC,OAAO,EAAE,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B,EAAE,4BAA4B;QACpD,kCAAkC,EAChC,wCAAwC;QAC1C,4BAA4B,EAAE,kCAAkC;QAChE,gCAAgC,EAAE,sCAAsC;QACxE,0BAA0B,EAAE,gCAAgC;QAC5D,yBAAyB,EAAE,8BAA8B;QACzD,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -7,18 +7,26 @@ export type MerchantAccountUpdate = {
|
|
|
7
7
|
accountUpdaterEnabled?: boolean | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
10
12
|
*/
|
|
11
13
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
12
14
|
/**
|
|
13
15
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
14
18
|
*/
|
|
15
19
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
16
20
|
/**
|
|
17
21
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
22
|
+
*
|
|
23
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
24
|
*/
|
|
19
25
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
20
26
|
/**
|
|
21
27
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
30
|
*/
|
|
23
31
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
24
32
|
/**
|
|
@@ -31,10 +39,14 @@ export type MerchantAccountUpdate = {
|
|
|
31
39
|
overCapturePercentage?: number | null | undefined;
|
|
32
40
|
/**
|
|
33
41
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
44
|
*/
|
|
35
45
|
loonClientKey?: string | null | undefined;
|
|
36
46
|
/**
|
|
37
47
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
50
|
*/
|
|
39
51
|
loonSecretKey?: string | null | undefined;
|
|
40
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merchantaccountupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAA6B,MAAM,iBAAiB,CAAC;AAExE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C
|
|
1
|
+
{"version":3,"file":"merchantaccountupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAA6B,MAAM,iBAAiB,CAAC;AAExE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/D;;;;OAIG;IACH,oCAAoC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE;;;;OAIG;IACH,mCAAmC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChE;;;;OAIG;IACH,qCAAqC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;I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AG,SAAS,CAAC;IAC5C,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,sCAAsC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnE,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,oCAAoC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,4BAA4B,EAAE,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAqDrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merchantaccountupdate.js","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"merchantaccountupdate.js","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.ts"],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AE,qBAAqB;QACxC,qBAAqB,EAAE,yBAAyB;QAChD,aAAa,EAAE,iBAAiB;QAChC,aAAa,EAAE,iBAAiB;QAChC,mBAAmB,EAAE,uBAAuB;QAC5C,qBAAqB,EAAE,0BAA0B;QACjD,4BAA4B,EAAE,kCAAkC;QAChE,sBAAsB,EAAE,4BAA4B;QACpD,4BAA4B,EAAE,kCAAkC;QAChE,sBAAsB,EAAE,4BAA4B;QACpD,kCAAkC,EAChC,wCAAwC;QAC1C,4BAA4B,EAAE,kCAAkC;QAChE,gCAAgC,EAAE,sCAAsC;QACxE,0BAA0B,EAAE,gCAAgC;QAC5D,yBAAyB,EAAE,8BAA8B;QACzD,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -31,6 +31,8 @@ export declare const Name: {
|
|
|
31
31
|
readonly GiftCardRefundSucceeded: "gift-card-refund-succeeded";
|
|
32
32
|
readonly GiftCardRefundFailed: "gift-card-refund-failed";
|
|
33
33
|
readonly GiftCardReversalSucceeded: "gift-card-reversal-succeeded";
|
|
34
|
+
readonly ReauthorizationAttempted: "reauthorization-attempted";
|
|
35
|
+
readonly ReauthorizationCreated: "reauthorization-created";
|
|
34
36
|
readonly PaymentConnectorResponseTransactionAuthorizationSucceeded: "payment-connector-response-transaction-authorization-succeeded";
|
|
35
37
|
readonly PaymentConnectorResponseTransactionCaptureSucceeded: "payment-connector-response-transaction-capture-succeeded";
|
|
36
38
|
readonly PaymentConnectorResponseTransactionAuthorizationFailed: "payment-connector-response-transaction-authorization-failed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionevent.d.ts","sourceRoot":"","sources":["../../src/models/components/transactionevent.ts"],"names":[],"mappings":"AAIA,OAAO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AAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -71,6 +71,8 @@ exports.Name = {
|
|
|
71
71
|
GiftCardRefundSucceeded: "gift-card-refund-succeeded",
|
|
72
72
|
GiftCardRefundFailed: "gift-card-refund-failed",
|
|
73
73
|
GiftCardReversalSucceeded: "gift-card-reversal-succeeded",
|
|
74
|
+
ReauthorizationAttempted: "reauthorization-attempted",
|
|
75
|
+
ReauthorizationCreated: "reauthorization-created",
|
|
74
76
|
PaymentConnectorResponseTransactionAuthorizationSucceeded: "payment-connector-response-transaction-authorization-succeeded",
|
|
75
77
|
PaymentConnectorResponseTransactionCaptureSucceeded: "payment-connector-response-transaction-capture-succeeded",
|
|
76
78
|
PaymentConnectorResponseTransactionAuthorizationFailed: "payment-connector-response-transaction-authorization-failed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionevent.js","sourceRoot":"","sources":["../../src/models/components/transactionevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"transactionevent.js","sourceRoot":"","sources":["../../src/models/components/transactionevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkJH,4DAQC;AAxJD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AACjD,gEAAkD;AAKlD;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,wBAAwB,EAAE,4BAA4B;IACtD,oBAAoB,EAAE,wBAAwB;IAC9C,0BAA0B,EAAE,+BAA+B;IAC3D,wBAAwB,EAAE,4BAA4B;IACtD,qBAAqB,EAAE,yBAAyB;IAChD,sBAAsB,EAAE,0BAA0B;IAClD,gBAAgB,EAAE,oBA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.json
CHANGED
package/sdk/activations.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class Activations extends ClientSDK {
|
|
|
5
5
|
* Activate a gift card
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Activate a physical gift card through the primary gift card service.
|
|
8
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
9
9
|
*/
|
|
10
10
|
create(giftCardActivationCreate: components.GiftCardActivationCreate, idempotencyKey?: string | null | undefined, merchantAccountId?: string | null | undefined, options?: RequestOptions): Promise<components.GiftCard>;
|
|
11
11
|
}
|
package/sdk/activations.js
CHANGED
|
@@ -12,7 +12,7 @@ class Activations extends sdks_js_1.ClientSDK {
|
|
|
12
12
|
* Activate a gift card
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Activate a physical gift card through the primary gift card service.
|
|
15
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
16
16
|
*/
|
|
17
17
|
async create(giftCardActivationCreate, idempotencyKey, merchantAccountId, options) {
|
|
18
18
|
return (0, fp_js_1.unwrapAsync)((0, giftCardsActivationsCreate_js_1.giftCardsActivationsCreate)(this, giftCardActivationCreate, idempotencyKey, merchantAccountId, options));
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Activate a gift card
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Activate a physical gift card through the primary gift card service.
|
|
34
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
35
35
|
*/
|
|
36
36
|
export function giftCardsActivationsCreate(
|
|
37
37
|
client: Gr4vyCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0.0",
|
|
80
|
-
sdkVersion: "2.
|
|
80
|
+
sdkVersion: "2.4.1",
|
|
81
81
|
genVersion: "2.924.0",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.4.1 2.924.0 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -29,6 +29,18 @@ export type GiftCardActivationCreate = {
|
|
|
29
29
|
* An optional external identifier for this activation.
|
|
30
30
|
*/
|
|
31
31
|
externalIdentifier?: string | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to store the activated gift card in the vault. When `true`, a `pin` is required.
|
|
34
|
+
*/
|
|
35
|
+
store?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the buyer to associate this gift card to. Only allowed when `store` is `true`. If this field is provided then the `buyer_external_identifier` field needs to be unset.
|
|
38
|
+
*/
|
|
39
|
+
buyerId?: string | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* The `external_identifier` of the buyer to associate this gift card to. Only allowed when `store` is `true`. If this field is provided then the `buyer_id` field needs to be unset.
|
|
42
|
+
*/
|
|
43
|
+
buyerExternalIdentifier?: string | null | undefined;
|
|
32
44
|
};
|
|
33
45
|
|
|
34
46
|
/** @internal */
|
|
@@ -38,6 +50,9 @@ export type GiftCardActivationCreate$Outbound = {
|
|
|
38
50
|
amount?: number | null | undefined;
|
|
39
51
|
currency?: string | null | undefined;
|
|
40
52
|
external_identifier?: string | null | undefined;
|
|
53
|
+
store: boolean;
|
|
54
|
+
buyer_id?: string | null | undefined;
|
|
55
|
+
buyer_external_identifier?: string | null | undefined;
|
|
41
56
|
};
|
|
42
57
|
|
|
43
58
|
/** @internal */
|
|
@@ -51,9 +66,14 @@ export const GiftCardActivationCreate$outboundSchema: z.ZodType<
|
|
|
51
66
|
amount: z.nullable(z.number().int()).optional(),
|
|
52
67
|
currency: z.nullable(z.string()).optional(),
|
|
53
68
|
externalIdentifier: z.nullable(z.string()).optional(),
|
|
69
|
+
store: z.boolean().default(false),
|
|
70
|
+
buyerId: z.nullable(z.string()).optional(),
|
|
71
|
+
buyerExternalIdentifier: z.nullable(z.string()).optional(),
|
|
54
72
|
}).transform((v) => {
|
|
55
73
|
return remap$(v, {
|
|
56
74
|
externalIdentifier: "external_identifier",
|
|
75
|
+
buyerId: "buyer_id",
|
|
76
|
+
buyerExternalIdentifier: "buyer_external_identifier",
|
|
57
77
|
});
|
|
58
78
|
});
|
|
59
79
|
|
|
@@ -24,10 +24,14 @@ export type MerchantAccount = {
|
|
|
24
24
|
displayName: string;
|
|
25
25
|
/**
|
|
26
26
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
27
29
|
*/
|
|
28
30
|
loonClientKey?: string | null | undefined;
|
|
29
31
|
/**
|
|
30
32
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
*/
|
|
32
36
|
loonSecretKey?: string | null | undefined;
|
|
33
37
|
/**
|
|
@@ -40,18 +44,26 @@ export type MerchantAccount = {
|
|
|
40
44
|
loonMerchantAccountId?: string | null | undefined;
|
|
41
45
|
/**
|
|
42
46
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
43
49
|
*/
|
|
44
50
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
45
51
|
/**
|
|
46
52
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
47
55
|
*/
|
|
48
56
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
49
57
|
/**
|
|
50
58
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
51
61
|
*/
|
|
52
62
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
53
63
|
/**
|
|
54
64
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
65
|
+
*
|
|
66
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
55
67
|
*/
|
|
56
68
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
57
69
|
/**
|
|
@@ -13,18 +13,26 @@ export type MerchantAccountCreate = {
|
|
|
13
13
|
accountUpdaterEnabled?: boolean | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
16
18
|
*/
|
|
17
19
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
18
20
|
/**
|
|
19
21
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
22
|
+
*
|
|
23
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
24
|
*/
|
|
21
25
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
22
26
|
/**
|
|
23
27
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
30
|
*/
|
|
25
31
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
26
32
|
/**
|
|
27
33
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
28
36
|
*/
|
|
29
37
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
30
38
|
/**
|
|
@@ -37,10 +45,14 @@ export type MerchantAccountCreate = {
|
|
|
37
45
|
overCapturePercentage?: number | null | undefined;
|
|
38
46
|
/**
|
|
39
47
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
40
50
|
*/
|
|
41
51
|
loonClientKey?: string | null | undefined;
|
|
42
52
|
/**
|
|
43
53
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
44
56
|
*/
|
|
45
57
|
loonSecretKey?: string | null | undefined;
|
|
46
58
|
/**
|
|
@@ -13,18 +13,26 @@ export type MerchantAccountUpdate = {
|
|
|
13
13
|
accountUpdaterEnabled?: boolean | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
16
18
|
*/
|
|
17
19
|
accountUpdaterRequestEncryptionKey?: string | null | undefined;
|
|
18
20
|
/**
|
|
19
21
|
* The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
22
|
+
*
|
|
23
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
24
|
*/
|
|
21
25
|
accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
|
|
22
26
|
/**
|
|
23
27
|
* The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
30
|
*/
|
|
25
31
|
accountUpdaterResponseDecryptionKey?: string | null | undefined;
|
|
26
32
|
/**
|
|
27
33
|
* The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
28
36
|
*/
|
|
29
37
|
accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
|
|
30
38
|
/**
|
|
@@ -37,10 +45,14 @@ export type MerchantAccountUpdate = {
|
|
|
37
45
|
overCapturePercentage?: number | null | undefined;
|
|
38
46
|
/**
|
|
39
47
|
* Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
48
|
+
*
|
|
49
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
40
50
|
*/
|
|
41
51
|
loonClientKey?: string | null | undefined;
|
|
42
52
|
/**
|
|
43
53
|
* Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
44
56
|
*/
|
|
45
57
|
loonSecretKey?: string | null | undefined;
|
|
46
58
|
/**
|
|
@@ -40,6 +40,8 @@ export const Name = {
|
|
|
40
40
|
GiftCardRefundSucceeded: "gift-card-refund-succeeded",
|
|
41
41
|
GiftCardRefundFailed: "gift-card-refund-failed",
|
|
42
42
|
GiftCardReversalSucceeded: "gift-card-reversal-succeeded",
|
|
43
|
+
ReauthorizationAttempted: "reauthorization-attempted",
|
|
44
|
+
ReauthorizationCreated: "reauthorization-created",
|
|
43
45
|
PaymentConnectorResponseTransactionAuthorizationSucceeded:
|
|
44
46
|
"payment-connector-response-transaction-authorization-succeeded",
|
|
45
47
|
PaymentConnectorResponseTransactionCaptureSucceeded:
|
package/src/sdk/activations.ts
CHANGED
|
@@ -12,7 +12,7 @@ export class Activations extends ClientSDK {
|
|
|
12
12
|
* Activate a gift card
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Activate a physical gift card through the primary gift card service.
|
|
15
|
+
* Activate a physical gift card through the primary gift card service. Set `store` to `true` to also store the activated gift card.
|
|
16
16
|
*/
|
|
17
17
|
async create(
|
|
18
18
|
giftCardActivationCreate: components.GiftCardActivationCreate,
|